@neutral-trade/sdk 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/index.d.mts +2 -2
- package/dist/generated/index.mjs +2 -2
- package/dist/{generated-Dz86hd_Y.mjs → generated-PNArbjle.mjs} +178 -63
- package/dist/idl/index.d.mts +164 -4
- package/dist/idl/index.mjs +168 -49
- package/dist/{index-CCGD4ixE.d.mts → index-CVQfAU4i.d.mts} +72 -29
- package/dist/index.d.mts +241 -15
- package/dist/index.mjs +520 -25
- package/package.json +1 -1
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
import { SOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_ACCOUNT, SOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_INSTRUCTION, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SOLANA_ERROR__PROGRAM_CLIENTS__UNRECOGNIZED_INSTRUCTION_TYPE, SolanaError, assertAccountExists, assertAccountsExist, assertIsInstructionWithAccounts, combineCodec, containsBytes, decodeAccount, extendClient, fetchEncodedAccount, fetchEncodedAccounts, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getArrayDecoder, getArrayEncoder, getBooleanDecoder, getBooleanEncoder, getBytesDecoder, getBytesEncoder, getF32Decoder, getF32Encoder, getI128Decoder, getI128Encoder, getI64Decoder, getI64Encoder, getProgramDerivedAddress, getStructDecoder, getStructEncoder, getU128Decoder, getU128Encoder, getU32Decoder, getU32Encoder, getU64Decoder, getU64Encoder, getU8Decoder, getU8Encoder, isProgramError, transformEncoder } from "@solana/kit";
|
|
2
2
|
import { addSelfFetchFunctions, addSelfPlanAndSendFunctions, getAccountMetaFactory, getAddressFromResolvedInstructionAccount, getNonNullResolvedInstructionInput } from "@solana/program-client-core";
|
|
3
3
|
|
|
4
|
+
//#region src/generated/types/referralTier.ts
|
|
5
|
+
/**
|
|
6
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
7
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
8
|
+
* to add features, then rerun Codama to update it.
|
|
9
|
+
*
|
|
10
|
+
* @see https://github.com/codama-idl/codama
|
|
11
|
+
*/
|
|
12
|
+
function getReferralTierEncoder() {
|
|
13
|
+
return getStructEncoder([
|
|
14
|
+
["threshold", getU64Encoder()],
|
|
15
|
+
["pfeeBps", getU32Encoder()],
|
|
16
|
+
["mfeeBps", getU32Encoder()]
|
|
17
|
+
]);
|
|
18
|
+
}
|
|
19
|
+
function getReferralTierDecoder() {
|
|
20
|
+
return getStructDecoder([
|
|
21
|
+
["threshold", getU64Decoder()],
|
|
22
|
+
["pfeeBps", getU32Decoder()],
|
|
23
|
+
["mfeeBps", getU32Decoder()]
|
|
24
|
+
]);
|
|
25
|
+
}
|
|
26
|
+
function getReferralTierCodec() {
|
|
27
|
+
return combineCodec(getReferralTierEncoder(), getReferralTierDecoder());
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
4
31
|
//#region src/generated/accounts/bundle.ts
|
|
5
32
|
/**
|
|
6
33
|
* This code was AUTOGENERATED using the Codama library.
|
|
@@ -56,11 +83,11 @@ function getBundleEncoder() {
|
|
|
56
83
|
["withdrawalRedemptionRequestCutoffTs", getI64Encoder()],
|
|
57
84
|
["withdrawalRedemptionUnlockCurrentCycleTs", getI64Encoder()],
|
|
58
85
|
["withdrawalRedemptionUnlockNextCycleTs", getI64Encoder()],
|
|
59
|
-
["referralPfeeBps", getU32Encoder()],
|
|
60
|
-
["referralMfeeBps", getU32Encoder()],
|
|
61
86
|
["referrerEnabled", getBooleanEncoder()],
|
|
62
87
|
["referrerMinDepositAmount", getU64Encoder()],
|
|
63
|
-
["
|
|
88
|
+
["referralTiers", getArrayEncoder(getReferralTierEncoder(), { size: 5 })],
|
|
89
|
+
["tierCount", getU8Encoder()],
|
|
90
|
+
["padding", fixEncoderSize(getBytesEncoder(), 117)]
|
|
64
91
|
]), (value) => ({
|
|
65
92
|
...value,
|
|
66
93
|
discriminator: BUNDLE_DISCRIMINATOR
|
|
@@ -100,11 +127,11 @@ function getBundleDecoder() {
|
|
|
100
127
|
["withdrawalRedemptionRequestCutoffTs", getI64Decoder()],
|
|
101
128
|
["withdrawalRedemptionUnlockCurrentCycleTs", getI64Decoder()],
|
|
102
129
|
["withdrawalRedemptionUnlockNextCycleTs", getI64Decoder()],
|
|
103
|
-
["referralPfeeBps", getU32Decoder()],
|
|
104
|
-
["referralMfeeBps", getU32Decoder()],
|
|
105
130
|
["referrerEnabled", getBooleanDecoder()],
|
|
106
131
|
["referrerMinDepositAmount", getU64Decoder()],
|
|
107
|
-
["
|
|
132
|
+
["referralTiers", getArrayDecoder(getReferralTierDecoder(), { size: 5 })],
|
|
133
|
+
["tierCount", getU8Decoder()],
|
|
134
|
+
["padding", fixDecoderSize(getBytesDecoder(), 117)]
|
|
108
135
|
]);
|
|
109
136
|
}
|
|
110
137
|
/** Gets the codec for {@link Bundle} account data. */
|
|
@@ -114,13 +141,13 @@ function getBundleCodec() {
|
|
|
114
141
|
function decodeBundle(encodedAccount) {
|
|
115
142
|
return decodeAccount(encodedAccount, getBundleDecoder());
|
|
116
143
|
}
|
|
117
|
-
async function fetchBundle(rpc, address, config) {
|
|
118
|
-
const maybeAccount = await fetchMaybeBundle(rpc, address, config);
|
|
144
|
+
async function fetchBundle(rpc, address$1, config) {
|
|
145
|
+
const maybeAccount = await fetchMaybeBundle(rpc, address$1, config);
|
|
119
146
|
assertAccountExists(maybeAccount);
|
|
120
147
|
return maybeAccount;
|
|
121
148
|
}
|
|
122
|
-
async function fetchMaybeBundle(rpc, address, config) {
|
|
123
|
-
return decodeBundle(await fetchEncodedAccount(rpc, address, config));
|
|
149
|
+
async function fetchMaybeBundle(rpc, address$1, config) {
|
|
150
|
+
return decodeBundle(await fetchEncodedAccount(rpc, address$1, config));
|
|
124
151
|
}
|
|
125
152
|
async function fetchAllBundle(rpc, addresses, config) {
|
|
126
153
|
const maybeAccounts = await fetchAllMaybeBundle(rpc, addresses, config);
|
|
@@ -179,13 +206,13 @@ function getBundleCreatorAccountCodec() {
|
|
|
179
206
|
function decodeBundleCreatorAccount(encodedAccount) {
|
|
180
207
|
return decodeAccount(encodedAccount, getBundleCreatorAccountDecoder());
|
|
181
208
|
}
|
|
182
|
-
async function fetchBundleCreatorAccount(rpc, address, config) {
|
|
183
|
-
const maybeAccount = await fetchMaybeBundleCreatorAccount(rpc, address, config);
|
|
209
|
+
async function fetchBundleCreatorAccount(rpc, address$1, config) {
|
|
210
|
+
const maybeAccount = await fetchMaybeBundleCreatorAccount(rpc, address$1, config);
|
|
184
211
|
assertAccountExists(maybeAccount);
|
|
185
212
|
return maybeAccount;
|
|
186
213
|
}
|
|
187
|
-
async function fetchMaybeBundleCreatorAccount(rpc, address, config) {
|
|
188
|
-
return decodeBundleCreatorAccount(await fetchEncodedAccount(rpc, address, config));
|
|
214
|
+
async function fetchMaybeBundleCreatorAccount(rpc, address$1, config) {
|
|
215
|
+
return decodeBundleCreatorAccount(await fetchEncodedAccount(rpc, address$1, config));
|
|
189
216
|
}
|
|
190
217
|
async function fetchAllBundleCreatorAccount(rpc, addresses, config) {
|
|
191
218
|
const maybeAccounts = await fetchAllMaybeBundleCreatorAccount(rpc, addresses, config);
|
|
@@ -247,13 +274,13 @@ function getBundleMasterAccountCodec() {
|
|
|
247
274
|
function decodeBundleMasterAccount(encodedAccount) {
|
|
248
275
|
return decodeAccount(encodedAccount, getBundleMasterAccountDecoder());
|
|
249
276
|
}
|
|
250
|
-
async function fetchBundleMasterAccount(rpc, address, config) {
|
|
251
|
-
const maybeAccount = await fetchMaybeBundleMasterAccount(rpc, address, config);
|
|
277
|
+
async function fetchBundleMasterAccount(rpc, address$1, config) {
|
|
278
|
+
const maybeAccount = await fetchMaybeBundleMasterAccount(rpc, address$1, config);
|
|
252
279
|
assertAccountExists(maybeAccount);
|
|
253
280
|
return maybeAccount;
|
|
254
281
|
}
|
|
255
|
-
async function fetchMaybeBundleMasterAccount(rpc, address, config) {
|
|
256
|
-
return decodeBundleMasterAccount(await fetchEncodedAccount(rpc, address, config));
|
|
282
|
+
async function fetchMaybeBundleMasterAccount(rpc, address$1, config) {
|
|
283
|
+
return decodeBundleMasterAccount(await fetchEncodedAccount(rpc, address$1, config));
|
|
257
284
|
}
|
|
258
285
|
async function fetchAllBundleMasterAccount(rpc, addresses, config) {
|
|
259
286
|
const maybeAccounts = await fetchAllMaybeBundleMasterAccount(rpc, addresses, config);
|
|
@@ -337,13 +364,13 @@ function getBundleTempDataCodec() {
|
|
|
337
364
|
function decodeBundleTempData(encodedAccount) {
|
|
338
365
|
return decodeAccount(encodedAccount, getBundleTempDataDecoder());
|
|
339
366
|
}
|
|
340
|
-
async function fetchBundleTempData(rpc, address, config) {
|
|
341
|
-
const maybeAccount = await fetchMaybeBundleTempData(rpc, address, config);
|
|
367
|
+
async function fetchBundleTempData(rpc, address$1, config) {
|
|
368
|
+
const maybeAccount = await fetchMaybeBundleTempData(rpc, address$1, config);
|
|
342
369
|
assertAccountExists(maybeAccount);
|
|
343
370
|
return maybeAccount;
|
|
344
371
|
}
|
|
345
|
-
async function fetchMaybeBundleTempData(rpc, address, config) {
|
|
346
|
-
return decodeBundleTempData(await fetchEncodedAccount(rpc, address, config));
|
|
372
|
+
async function fetchMaybeBundleTempData(rpc, address$1, config) {
|
|
373
|
+
return decodeBundleTempData(await fetchEncodedAccount(rpc, address$1, config));
|
|
347
374
|
}
|
|
348
375
|
async function fetchAllBundleTempData(rpc, addresses, config) {
|
|
349
376
|
const maybeAccounts = await fetchAllMaybeBundleTempData(rpc, addresses, config);
|
|
@@ -407,13 +434,13 @@ function getOracleDataCodec() {
|
|
|
407
434
|
function decodeOracleData(encodedAccount) {
|
|
408
435
|
return decodeAccount(encodedAccount, getOracleDataDecoder());
|
|
409
436
|
}
|
|
410
|
-
async function fetchOracleData(rpc, address, config) {
|
|
411
|
-
const maybeAccount = await fetchMaybeOracleData(rpc, address, config);
|
|
437
|
+
async function fetchOracleData(rpc, address$1, config) {
|
|
438
|
+
const maybeAccount = await fetchMaybeOracleData(rpc, address$1, config);
|
|
412
439
|
assertAccountExists(maybeAccount);
|
|
413
440
|
return maybeAccount;
|
|
414
441
|
}
|
|
415
|
-
async function fetchMaybeOracleData(rpc, address, config) {
|
|
416
|
-
return decodeOracleData(await fetchEncodedAccount(rpc, address, config));
|
|
442
|
+
async function fetchMaybeOracleData(rpc, address$1, config) {
|
|
443
|
+
return decodeOracleData(await fetchEncodedAccount(rpc, address$1, config));
|
|
417
444
|
}
|
|
418
445
|
async function fetchAllOracleData(rpc, addresses, config) {
|
|
419
446
|
const maybeAccounts = await fetchAllMaybeOracleData(rpc, addresses, config);
|
|
@@ -466,7 +493,8 @@ function getReferrerAccountEncoder() {
|
|
|
466
493
|
["estimatedPendingWithdrawalValue", getU64Encoder()],
|
|
467
494
|
["withdrawalAvailableTimestamp", getI64Encoder()],
|
|
468
495
|
["lastWithdrawalProcessTimestamp", getI64Encoder()],
|
|
469
|
-
["
|
|
496
|
+
["referredNetDeposits", getI128Encoder()],
|
|
497
|
+
["padding", fixEncoderSize(getBytesEncoder(), 48)]
|
|
470
498
|
]), (value) => ({
|
|
471
499
|
...value,
|
|
472
500
|
discriminator: REFERRER_ACCOUNT_DISCRIMINATOR
|
|
@@ -489,7 +517,8 @@ function getReferrerAccountDecoder() {
|
|
|
489
517
|
["estimatedPendingWithdrawalValue", getU64Decoder()],
|
|
490
518
|
["withdrawalAvailableTimestamp", getI64Decoder()],
|
|
491
519
|
["lastWithdrawalProcessTimestamp", getI64Decoder()],
|
|
492
|
-
["
|
|
520
|
+
["referredNetDeposits", getI128Decoder()],
|
|
521
|
+
["padding", fixDecoderSize(getBytesDecoder(), 48)]
|
|
493
522
|
]);
|
|
494
523
|
}
|
|
495
524
|
/** Gets the codec for {@link ReferrerAccount} account data. */
|
|
@@ -499,13 +528,13 @@ function getReferrerAccountCodec() {
|
|
|
499
528
|
function decodeReferrerAccount(encodedAccount) {
|
|
500
529
|
return decodeAccount(encodedAccount, getReferrerAccountDecoder());
|
|
501
530
|
}
|
|
502
|
-
async function fetchReferrerAccount(rpc, address, config) {
|
|
503
|
-
const maybeAccount = await fetchMaybeReferrerAccount(rpc, address, config);
|
|
531
|
+
async function fetchReferrerAccount(rpc, address$1, config) {
|
|
532
|
+
const maybeAccount = await fetchMaybeReferrerAccount(rpc, address$1, config);
|
|
504
533
|
assertAccountExists(maybeAccount);
|
|
505
534
|
return maybeAccount;
|
|
506
535
|
}
|
|
507
|
-
async function fetchMaybeReferrerAccount(rpc, address, config) {
|
|
508
|
-
return decodeReferrerAccount(await fetchEncodedAccount(rpc, address, config));
|
|
536
|
+
async function fetchMaybeReferrerAccount(rpc, address$1, config) {
|
|
537
|
+
return decodeReferrerAccount(await fetchEncodedAccount(rpc, address$1, config));
|
|
509
538
|
}
|
|
510
539
|
async function fetchAllReferrerAccount(rpc, addresses, config) {
|
|
511
540
|
const maybeAccounts = await fetchAllMaybeReferrerAccount(rpc, addresses, config);
|
|
@@ -571,13 +600,13 @@ function getStrategyCodec() {
|
|
|
571
600
|
function decodeStrategy(encodedAccount) {
|
|
572
601
|
return decodeAccount(encodedAccount, getStrategyDecoder());
|
|
573
602
|
}
|
|
574
|
-
async function fetchStrategy(rpc, address, config) {
|
|
575
|
-
const maybeAccount = await fetchMaybeStrategy(rpc, address, config);
|
|
603
|
+
async function fetchStrategy(rpc, address$1, config) {
|
|
604
|
+
const maybeAccount = await fetchMaybeStrategy(rpc, address$1, config);
|
|
576
605
|
assertAccountExists(maybeAccount);
|
|
577
606
|
return maybeAccount;
|
|
578
607
|
}
|
|
579
|
-
async function fetchMaybeStrategy(rpc, address, config) {
|
|
580
|
-
return decodeStrategy(await fetchEncodedAccount(rpc, address, config));
|
|
608
|
+
async function fetchMaybeStrategy(rpc, address$1, config) {
|
|
609
|
+
return decodeStrategy(await fetchEncodedAccount(rpc, address$1, config));
|
|
581
610
|
}
|
|
582
611
|
async function fetchAllStrategy(rpc, addresses, config) {
|
|
583
612
|
const maybeAccounts = await fetchAllMaybeStrategy(rpc, addresses, config);
|
|
@@ -644,10 +673,7 @@ function getUserBundleAccountEncoder() {
|
|
|
644
673
|
["switchTargetBundle", getAddressEncoder()],
|
|
645
674
|
["switchCreatedAt", getI64Encoder()],
|
|
646
675
|
["referrer", getAddressEncoder()],
|
|
647
|
-
["
|
|
648
|
-
["referralMfeeBps", getU32Encoder()],
|
|
649
|
-
["referralFlags", getU8Encoder()],
|
|
650
|
-
["padding", fixEncoderSize(getBytesEncoder(), 136)]
|
|
676
|
+
["padding", fixEncoderSize(getBytesEncoder(), 145)]
|
|
651
677
|
]), (value) => ({
|
|
652
678
|
...value,
|
|
653
679
|
discriminator: USER_BUNDLE_ACCOUNT_DISCRIMINATOR
|
|
@@ -684,10 +710,7 @@ function getUserBundleAccountDecoder() {
|
|
|
684
710
|
["switchTargetBundle", getAddressDecoder()],
|
|
685
711
|
["switchCreatedAt", getI64Decoder()],
|
|
686
712
|
["referrer", getAddressDecoder()],
|
|
687
|
-
["
|
|
688
|
-
["referralMfeeBps", getU32Decoder()],
|
|
689
|
-
["referralFlags", getU8Decoder()],
|
|
690
|
-
["padding", fixDecoderSize(getBytesDecoder(), 136)]
|
|
713
|
+
["padding", fixDecoderSize(getBytesDecoder(), 145)]
|
|
691
714
|
]);
|
|
692
715
|
}
|
|
693
716
|
/** Gets the codec for {@link UserBundleAccount} account data. */
|
|
@@ -697,13 +720,13 @@ function getUserBundleAccountCodec() {
|
|
|
697
720
|
function decodeUserBundleAccount(encodedAccount) {
|
|
698
721
|
return decodeAccount(encodedAccount, getUserBundleAccountDecoder());
|
|
699
722
|
}
|
|
700
|
-
async function fetchUserBundleAccount(rpc, address, config) {
|
|
701
|
-
const maybeAccount = await fetchMaybeUserBundleAccount(rpc, address, config);
|
|
723
|
+
async function fetchUserBundleAccount(rpc, address$1, config) {
|
|
724
|
+
const maybeAccount = await fetchMaybeUserBundleAccount(rpc, address$1, config);
|
|
702
725
|
assertAccountExists(maybeAccount);
|
|
703
726
|
return maybeAccount;
|
|
704
727
|
}
|
|
705
|
-
async function fetchMaybeUserBundleAccount(rpc, address, config) {
|
|
706
|
-
return decodeUserBundleAccount(await fetchEncodedAccount(rpc, address, config));
|
|
728
|
+
async function fetchMaybeUserBundleAccount(rpc, address$1, config) {
|
|
729
|
+
return decodeUserBundleAccount(await fetchEncodedAccount(rpc, address$1, config));
|
|
707
730
|
}
|
|
708
731
|
async function fetchAllUserBundleAccount(rpc, addresses, config) {
|
|
709
732
|
const maybeAccounts = await fetchAllMaybeUserBundleAccount(rpc, addresses, config);
|
|
@@ -7734,6 +7757,81 @@ function parseSetOracleUpdateTimeLimitInstruction(instruction) {
|
|
|
7734
7757
|
};
|
|
7735
7758
|
}
|
|
7736
7759
|
|
|
7760
|
+
//#endregion
|
|
7761
|
+
//#region src/generated/instructions/setReferralTierConfig.ts
|
|
7762
|
+
/**
|
|
7763
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
7764
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
7765
|
+
* to add features, then rerun Codama to update it.
|
|
7766
|
+
*
|
|
7767
|
+
* @see https://github.com/codama-idl/codama
|
|
7768
|
+
*/
|
|
7769
|
+
const SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR = new Uint8Array([
|
|
7770
|
+
9,
|
|
7771
|
+
78,
|
|
7772
|
+
137,
|
|
7773
|
+
136,
|
|
7774
|
+
182,
|
|
7775
|
+
116,
|
|
7776
|
+
76,
|
|
7777
|
+
138
|
|
7778
|
+
]);
|
|
7779
|
+
function getSetReferralTierConfigDiscriminatorBytes() {
|
|
7780
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR);
|
|
7781
|
+
}
|
|
7782
|
+
function getSetReferralTierConfigInstructionDataEncoder() {
|
|
7783
|
+
return transformEncoder(getStructEncoder([["discriminator", fixEncoderSize(getBytesEncoder(), 8)], ["referralTiers", getArrayEncoder(getReferralTierEncoder())]]), (value) => ({
|
|
7784
|
+
...value,
|
|
7785
|
+
discriminator: SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR
|
|
7786
|
+
}));
|
|
7787
|
+
}
|
|
7788
|
+
function getSetReferralTierConfigInstructionDataDecoder() {
|
|
7789
|
+
return getStructDecoder([["discriminator", fixDecoderSize(getBytesDecoder(), 8)], ["referralTiers", getArrayDecoder(getReferralTierDecoder())]]);
|
|
7790
|
+
}
|
|
7791
|
+
function getSetReferralTierConfigInstructionDataCodec() {
|
|
7792
|
+
return combineCodec(getSetReferralTierConfigInstructionDataEncoder(), getSetReferralTierConfigInstructionDataDecoder());
|
|
7793
|
+
}
|
|
7794
|
+
function getSetReferralTierConfigInstruction(input, config) {
|
|
7795
|
+
const programAddress = config?.programAddress ?? NTBUNDLE_PROGRAM_ADDRESS;
|
|
7796
|
+
const accounts = {
|
|
7797
|
+
manager: {
|
|
7798
|
+
value: input.manager ?? null,
|
|
7799
|
+
isWritable: true
|
|
7800
|
+
},
|
|
7801
|
+
bundleAccount: {
|
|
7802
|
+
value: input.bundleAccount ?? null,
|
|
7803
|
+
isWritable: true
|
|
7804
|
+
}
|
|
7805
|
+
};
|
|
7806
|
+
const args = { ...input };
|
|
7807
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
7808
|
+
return Object.freeze({
|
|
7809
|
+
accounts: [getAccountMeta("manager", accounts.manager), getAccountMeta("bundleAccount", accounts.bundleAccount)],
|
|
7810
|
+
data: getSetReferralTierConfigInstructionDataEncoder().encode(args),
|
|
7811
|
+
programAddress
|
|
7812
|
+
});
|
|
7813
|
+
}
|
|
7814
|
+
function parseSetReferralTierConfigInstruction(instruction) {
|
|
7815
|
+
if (instruction.accounts.length < 2) throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
7816
|
+
actualAccountMetas: instruction.accounts.length,
|
|
7817
|
+
expectedAccountMetas: 2
|
|
7818
|
+
});
|
|
7819
|
+
let accountIndex = 0;
|
|
7820
|
+
const getNextAccount = () => {
|
|
7821
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
7822
|
+
accountIndex += 1;
|
|
7823
|
+
return accountMeta;
|
|
7824
|
+
};
|
|
7825
|
+
return {
|
|
7826
|
+
programAddress: instruction.programAddress,
|
|
7827
|
+
accounts: {
|
|
7828
|
+
manager: getNextAccount(),
|
|
7829
|
+
bundleAccount: getNextAccount()
|
|
7830
|
+
},
|
|
7831
|
+
data: getSetReferralTierConfigInstructionDataDecoder().decode(instruction.data)
|
|
7832
|
+
};
|
|
7833
|
+
}
|
|
7834
|
+
|
|
7737
7835
|
//#endregion
|
|
7738
7836
|
//#region src/generated/instructions/setReferrerActive.ts
|
|
7739
7837
|
/**
|
|
@@ -7844,8 +7942,6 @@ function getSetReferrerConfigInstructionDataEncoder() {
|
|
|
7844
7942
|
return transformEncoder(getStructEncoder([
|
|
7845
7943
|
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
7846
7944
|
["referrerEnabled", getBooleanEncoder()],
|
|
7847
|
-
["referralPfeeBps", getU32Encoder()],
|
|
7848
|
-
["referralMfeeBps", getU32Encoder()],
|
|
7849
7945
|
["referrerMinDepositAmount", getU64Encoder()]
|
|
7850
7946
|
]), (value) => ({
|
|
7851
7947
|
...value,
|
|
@@ -7856,8 +7952,6 @@ function getSetReferrerConfigInstructionDataDecoder() {
|
|
|
7856
7952
|
return getStructDecoder([
|
|
7857
7953
|
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
7858
7954
|
["referrerEnabled", getBooleanDecoder()],
|
|
7859
|
-
["referralPfeeBps", getU32Decoder()],
|
|
7860
|
-
["referralMfeeBps", getU32Decoder()],
|
|
7861
7955
|
["referrerMinDepositAmount", getU64Decoder()]
|
|
7862
7956
|
]);
|
|
7863
7957
|
}
|
|
@@ -9025,16 +9119,17 @@ let NtbundleInstruction = /* @__PURE__ */ function(NtbundleInstruction$1) {
|
|
|
9025
9119
|
NtbundleInstruction$1[NtbundleInstruction$1["SetOracleBuffer"] = 36] = "SetOracleBuffer";
|
|
9026
9120
|
NtbundleInstruction$1[NtbundleInstruction$1["SetOracleMaxAge"] = 37] = "SetOracleMaxAge";
|
|
9027
9121
|
NtbundleInstruction$1[NtbundleInstruction$1["SetOracleUpdateTimeLimit"] = 38] = "SetOracleUpdateTimeLimit";
|
|
9028
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9029
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9030
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9031
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9032
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9033
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9034
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9035
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9036
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9037
|
-
NtbundleInstruction$1[NtbundleInstruction$1["
|
|
9122
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetReferralTierConfig"] = 39] = "SetReferralTierConfig";
|
|
9123
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetReferrerActive"] = 40] = "SetReferrerActive";
|
|
9124
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetReferrerConfig"] = 41] = "SetReferrerConfig";
|
|
9125
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetReferrerRateOverride"] = 42] = "SetReferrerRateOverride";
|
|
9126
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetUserFeeOverride"] = 43] = "SetUserFeeOverride";
|
|
9127
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetUserReferrer"] = 44] = "SetUserReferrer";
|
|
9128
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetUserWithdrawalTimingOverride"] = 45] = "SetUserWithdrawalTimingOverride";
|
|
9129
|
+
NtbundleInstruction$1[NtbundleInstruction$1["SetWithdrawalRedemptionSchedule"] = 46] = "SetWithdrawalRedemptionSchedule";
|
|
9130
|
+
NtbundleInstruction$1[NtbundleInstruction$1["StartDistribution"] = 47] = "StartDistribution";
|
|
9131
|
+
NtbundleInstruction$1[NtbundleInstruction$1["UpdateAllocations"] = 48] = "UpdateAllocations";
|
|
9132
|
+
NtbundleInstruction$1[NtbundleInstruction$1["UpdateOracle"] = 49] = "UpdateOracle";
|
|
9038
9133
|
return NtbundleInstruction$1;
|
|
9039
9134
|
}({});
|
|
9040
9135
|
function identifyNtbundleInstruction(instruction) {
|
|
@@ -9429,6 +9524,16 @@ function identifyNtbundleInstruction(instruction) {
|
|
|
9429
9524
|
67,
|
|
9430
9525
|
202
|
|
9431
9526
|
])), 0)) return NtbundleInstruction.SetOracleUpdateTimeLimit;
|
|
9527
|
+
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([
|
|
9528
|
+
9,
|
|
9529
|
+
78,
|
|
9530
|
+
137,
|
|
9531
|
+
136,
|
|
9532
|
+
182,
|
|
9533
|
+
116,
|
|
9534
|
+
76,
|
|
9535
|
+
138
|
|
9536
|
+
])), 0)) return NtbundleInstruction.SetReferralTierConfig;
|
|
9432
9537
|
if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([
|
|
9433
9538
|
173,
|
|
9434
9539
|
21,
|
|
@@ -9771,6 +9876,12 @@ function parseNtbundleInstruction(instruction) {
|
|
|
9771
9876
|
instructionType: NtbundleInstruction.SetOracleUpdateTimeLimit,
|
|
9772
9877
|
...parseSetOracleUpdateTimeLimitInstruction(instruction)
|
|
9773
9878
|
};
|
|
9879
|
+
case NtbundleInstruction.SetReferralTierConfig:
|
|
9880
|
+
assertIsInstructionWithAccounts(instruction);
|
|
9881
|
+
return {
|
|
9882
|
+
instructionType: NtbundleInstruction.SetReferralTierConfig,
|
|
9883
|
+
...parseSetReferralTierConfigInstruction(instruction)
|
|
9884
|
+
};
|
|
9774
9885
|
case NtbundleInstruction.SetReferrerActive:
|
|
9775
9886
|
assertIsInstructionWithAccounts(instruction);
|
|
9776
9887
|
return {
|
|
@@ -9896,6 +10007,7 @@ function ntbundleProgram() {
|
|
|
9896
10007
|
setOracleBuffer: (input) => addSelfPlanAndSendFunctions(client, getSetOracleBufferInstruction(input)),
|
|
9897
10008
|
setOracleMaxAge: (input) => addSelfPlanAndSendFunctions(client, getSetOracleMaxAgeInstruction(input)),
|
|
9898
10009
|
setOracleUpdateTimeLimit: (input) => addSelfPlanAndSendFunctions(client, getSetOracleUpdateTimeLimitInstruction(input)),
|
|
10010
|
+
setReferralTierConfig: (input) => addSelfPlanAndSendFunctions(client, getSetReferralTierConfigInstruction(input)),
|
|
9899
10011
|
setReferrerActive: (input) => addSelfPlanAndSendFunctions(client, getSetReferrerActiveInstruction(input)),
|
|
9900
10012
|
setReferrerConfig: (input) => addSelfPlanAndSendFunctions(client, getSetReferrerConfigInstruction(input)),
|
|
9901
10013
|
setReferrerRateOverride: (input) => addSelfPlanAndSendFunctions(client, getSetReferrerRateOverrideInstruction(input)),
|
|
@@ -10132,6 +10244,8 @@ const NTBUNDLE_ERROR__REFERRER_SHARES_ZERO = 6090;
|
|
|
10132
10244
|
const NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION = 6091;
|
|
10133
10245
|
/** ReferrerDepositTooLow: Referrer deposit too low */
|
|
10134
10246
|
const NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW = 6092;
|
|
10247
|
+
/** InvalidReferralTierConfig: Invalid referral tier configuration */
|
|
10248
|
+
const NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG = 6093;
|
|
10135
10249
|
let ntbundleErrorMessages;
|
|
10136
10250
|
if (process.env["NODE_ENV"] !== "production") ntbundleErrorMessages = {
|
|
10137
10251
|
[NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO]: `Allocation amount must be > 0`,
|
|
@@ -10166,6 +10280,7 @@ if (process.env["NODE_ENV"] !== "production") ntbundleErrorMessages = {
|
|
|
10166
10280
|
[NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR]: `Invalid permissionned depositor`,
|
|
10167
10281
|
[NTBUNDLE_ERROR__INVALID_RECEIVER]: `Invalid receiver address`,
|
|
10168
10282
|
[NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG]: `Invalid referral configuration`,
|
|
10283
|
+
[NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG]: `Invalid referral tier configuration`,
|
|
10169
10284
|
[NTBUNDLE_ERROR__INVALID_TWAP_PERIOD]: `Invalid twap period`,
|
|
10170
10285
|
[NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG]: `Invalid user fee configuration`,
|
|
10171
10286
|
[NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG]: `Invalid user withdrawal timing configuration`,
|
|
@@ -10237,4 +10352,4 @@ function isNtbundleError(error, transactionMessage, code) {
|
|
|
10237
10352
|
}
|
|
10238
10353
|
|
|
10239
10354
|
//#endregion
|
|
10240
|
-
export { NTBUNDLE_ERROR__ORACLE_NOT_UPDATED as $, PROCESS_DEPOSIT_DISCRIMINATOR as $a, findTargetOracleDataPda as $c, getRemoveStrategyInstruction as $i, fetchAllOracleData as $l, getSetReferrerRateOverrideInstructionDataCodec as $n, getInitializePermissionedBundleDepositorInstructionDataEncoder as $o, getSetKeeperDiscriminatorBytes as $r, getCloseUserBundleAccountInstructionDataCodec as $s, getUpdateOracleInstructionDataCodec as $t, NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR as A, getProcessWithdrawalDiscriminatorBytes as Aa, getChangeBundleMasterAdminInstructionDataCodec as Ac, getRequestWithdrawalInstructionAsync as Ai, fetchAllMaybeStrategy as Al, getSetUserWithdrawalTimingOverrideInstructionDataCodec as An, parseNetPendingTransactionsInstruction as Ao, parseSetOracleMaxAgeInstruction as Ar, getEndDistributionInstructionDataDecoder as As, NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION as At, decodeBundleCreatorAccount as Au, NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO as B, getProcessSwitchInstructionAsync as Ba, getApplyFeesToUserInstructionDataEncoder as Bc, getRequestDepositInstructionDataDecoder as Bi, decodeReferrerAccount as Bl, getSetUserReferrerInstructionDataEncoder as Bn, getManagerWithdrawDiscriminatorBytes as Bo, getSetMinDepositAmountInstruction as Br, parseEnableStrategyInstruction as Bs, getNtbundleErrorMessage as Bt, BUNDLE_DISCRIMINATOR as Bu, NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS as C, getReferrerRequestWithdrawInstruction as Ca, getChangeManagerInstructionDataDecoder as Cc, getSetBundleCreatorInstructionDataCodec as Ci, getUserBundleAccountCodec as Cl, getSetWithdrawalRedemptionScheduleInstructionDataDecoder as Cn, NET_PENDING_TRANSACTIONS_DISCRIMINATOR as Co, parseSetOracleUpdateTimeLimitInstruction as Cr, getInitializeBundleInstructionDataEncoder as Cs, NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE as Ct, fetchMaybeBundleMasterAccount as Cu, NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER as D, getReferrerRequestWithdrawInstructionDataEncoder as Da, getChangeBundleMasterAdminDiscriminatorBytes as Dc, REQUEST_WITHDRAWAL_DISCRIMINATOR as Di, getUserBundleAccountSize as Dl, getSetUserWithdrawalTimingOverrideDiscriminatorBytes as Dn, getNetPendingTransactionsInstructionDataCodec as Do, getSetOracleMaxAgeInstructionDataCodec as Dr, getEndDistributionInstruction as Ds, NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE as Dt, getBundleMasterAccountEncoder as Du, NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER as E, getReferrerRequestWithdrawInstructionDataDecoder as Ea, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR as Ec, parseSetBundleCreatorInstruction as Ei, getUserBundleAccountEncoder as El, SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR as En, getNetPendingTransactionsInstructionAsync as Eo, getSetOracleMaxAgeInstruction as Er, getEndDistributionDiscriminatorBytes as Es, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH as Et, getBundleMasterAccountDiscriminatorBytes as Eu, NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG as F, getProcessWithdrawalInstructionDataEncoder as Fa, getApplyFeesToUserDiscriminatorBytes as Fc, REQUEST_DEPOSIT_DISCRIMINATOR as Fi, getStrategyDecoder as Fl, getSetUserReferrerDiscriminatorBytes as Fn, getManagerWithdrawWithSplitInstructionDataCodec as Fo, getSetOracleBufferInstructionDataDecoder as Fr, getEnableStrategyInstruction as Fs, NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS as Ft, getBundleCreatorAccountCodec as Fu, NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST as G, PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR as Ga, getAddStrategyInstructionAsync as Gc, getRequestBundleSwitchInstruction as Gi, getReferrerAccountCodec as Gl, getSetUserFeeOverrideInstructionAsync as Gn, getManagerWithdrawInstructionDataEncoder as Go, SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR as Gr, getDistributeToReceiversInstructionDataCodec as Gs, identifyNtbundleAccount as Gt, fetchMaybeBundle as Gu, NTBUNDLE_ERROR__MATH_ERROR as H, getProcessSwitchInstructionDataDecoder as Ha, ADD_STRATEGY_DISCRIMINATOR as Hc, parseRequestDepositInstruction as Hi, fetchAllReferrerAccount as Hl, SET_USER_FEE_OVERRIDE_DISCRIMINATOR as Hn, getManagerWithdrawInstructionAsync as Ho, getSetMinDepositAmountInstructionDataDecoder as Hr, getDistributeToReceiversDiscriminatorBytes as Hs, NTBUNDLE_PROGRAM_ADDRESS as Ht, fetchAllBundle as Hu, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT as I, parseProcessWithdrawalInstruction as Ia, getApplyFeesToUserInstruction as Ic, getRequestDepositDiscriminatorBytes as Ii, getStrategyDiscriminatorBytes as Il, getSetUserReferrerInstruction as In, getManagerWithdrawWithSplitInstructionDataDecoder as Io, getSetOracleBufferInstructionDataEncoder as Ir, getEnableStrategyInstructionAsync as Is, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY as It, getBundleCreatorAccountDecoder as Iu, NTBUNDLE_ERROR__NO_PENDING_SWITCH as J, getProcessReferrerWithdrawalInstructionAsync as Ja, getAddStrategyInstructionDataEncoder as Jc, getRequestBundleSwitchInstructionDataDecoder as Ji, getReferrerAccountEncoder as Jl, getSetUserFeeOverrideInstructionDataEncoder as Jn, getInitializePermissionedBundleDepositorDiscriminatorBytes as Jo, getSetMaxDepositAmountInstructionDataCodec as Jr, parseDistributeToReceiversInstruction as Js, parseNtbundleInstruction as Jt, getBundleDiscriminatorBytes as Ju, NTBUNDLE_ERROR__NETTING_ALREADY_DONE as K, getProcessReferrerWithdrawalDiscriminatorBytes as Ka, getAddStrategyInstructionDataCodec as Kc, getRequestBundleSwitchInstructionAsync as Ki, getReferrerAccountDecoder as Kl, getSetUserFeeOverrideInstructionDataCodec as Kn, parseManagerWithdrawInstruction as Ko, getSetMaxDepositAmountDiscriminatorBytes as Kr, getDistributeToReceiversInstructionDataDecoder as Ks, identifyNtbundleInstruction as Kt, getBundleCodec as Ku, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD as L, PROCESS_SWITCH_DISCRIMINATOR as La, getApplyFeesToUserInstructionAsync as Lc, getRequestDepositInstruction as Li, getStrategyEncoder as Ll, getSetUserReferrerInstructionAsync as Ln, getManagerWithdrawWithSplitInstructionDataEncoder as Lo, parseSetOracleBufferInstruction as Lr, getEnableStrategyInstructionDataCodec as Ls, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY as Lt, getBundleCreatorAccountDiscriminatorBytes as Lu, NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG as M, getProcessWithdrawalInstructionAsync as Ma, getChangeBundleMasterAdminInstructionDataEncoder as Mc, getRequestWithdrawalInstructionDataDecoder as Mi, fetchMaybeStrategy as Ml, getSetUserWithdrawalTimingOverrideInstructionDataEncoder as Mn, getManagerWithdrawWithSplitDiscriminatorBytes as Mo, getSetOracleBufferDiscriminatorBytes as Mr, parseEndDistributionInstruction as Ms, NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION as Mt, fetchAllMaybeBundleCreatorAccount as Mu, NTBUNDLE_ERROR__INVALID_TWAP_PERIOD as N, getProcessWithdrawalInstructionDataCodec as Na, parseChangeBundleMasterAdminInstruction as Nc, getRequestWithdrawalInstructionDataEncoder as Ni, fetchStrategy as Nl, parseSetUserWithdrawalTimingOverrideInstruction as Nn, getManagerWithdrawWithSplitInstruction as No, getSetOracleBufferInstruction as Nr, ENABLE_STRATEGY_DISCRIMINATOR as Ns, NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION as Nt, fetchBundleCreatorAccount as Nu, NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE as O, parseReferrerRequestWithdrawInstruction as Oa, getChangeBundleMasterAdminInstruction as Oc, getRequestWithdrawalDiscriminatorBytes as Oi, STRATEGY_DISCRIMINATOR as Ol, getSetUserWithdrawalTimingOverrideInstruction as On, getNetPendingTransactionsInstructionDataDecoder as Oo, getSetOracleMaxAgeInstructionDataDecoder as Or, getEndDistributionInstructionAsync as Os, NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS as Ot, getBundleMasterAccountSize as Ou, NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG as P, getProcessWithdrawalInstructionDataDecoder as Pa, APPLY_FEES_TO_USER_DISCRIMINATOR as Pc, parseRequestWithdrawalInstruction as Pi, getStrategyCodec as Pl, SET_USER_REFERRER_DISCRIMINATOR as Pn, getManagerWithdrawWithSplitInstructionAsync as Po, getSetOracleBufferInstructionDataCodec as Pr, getEnableStrategyDiscriminatorBytes as Ps, NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION as Pt, fetchMaybeBundleCreatorAccount as Pu, NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR as Q, parseProcessReferrerWithdrawalInstruction as Qa, findTargetPendingBundleAssetAuthorityPda as Qc, getRemoveStrategyDiscriminatorBytes as Qi, fetchAllMaybeOracleData as Ql, getSetReferrerRateOverrideInstruction as Qn, getInitializePermissionedBundleDepositorInstructionDataDecoder as Qo, SET_KEEPER_DISCRIMINATOR as Qr, getCloseUserBundleAccountInstructionAsync as Qs, getUpdateOracleInstructionAsync as Qt, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY as R, getProcessSwitchDiscriminatorBytes as Ra, getApplyFeesToUserInstructionDataCodec as Rc, getRequestDepositInstructionAsync as Ri, getStrategySize as Rl, getSetUserReferrerInstructionDataCodec as Rn, parseManagerWithdrawWithSplitInstruction as Ro, SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR as Rr, getEnableStrategyInstructionDataDecoder as Rs, NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED as Rt, getBundleCreatorAccountEncoder as Ru, NTBUNDLE_ERROR__INVALID_ALLOCATIONS as S, getReferrerRequestWithdrawDiscriminatorBytes as Sa, getChangeManagerInstructionDataCodec as Sc, getSetBundleCreatorInstructionAsync as Si, fetchUserBundleAccount as Sl, getSetWithdrawalRedemptionScheduleInstructionDataCodec as Sn, parsePauseDepositsWithdrawalsInstruction as So, getSetOracleUpdateTimeLimitInstructionDataEncoder as Sr, getInitializeBundleInstructionDataDecoder as Ss, NTBUNDLE_ERROR__STRATEGY_DISABLED as St, fetchBundleMasterAccount as Su, NTBUNDLE_ERROR__INVALID_FEE_SPLIT as T, getReferrerRequestWithdrawInstructionDataCodec as Ta, parseChangeManagerInstruction as Tc, getSetBundleCreatorInstructionDataEncoder as Ti, getUserBundleAccountDiscriminatorBytes as Tl, parseSetWithdrawalRedemptionScheduleInstruction as Tn, getNetPendingTransactionsInstruction as To, getSetOracleMaxAgeDiscriminatorBytes as Tr, END_DISTRIBUTION_DISCRIMINATOR as Ts, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING as Tt, getBundleMasterAccountDecoder as Tu, NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED as U, getProcessSwitchInstructionDataEncoder as Ua, getAddStrategyDiscriminatorBytes as Uc, REQUEST_BUNDLE_SWITCH_DISCRIMINATOR as Ui, fetchMaybeReferrerAccount as Ul, getSetUserFeeOverrideDiscriminatorBytes as Un, getManagerWithdrawInstructionDataCodec as Uo, getSetMinDepositAmountInstructionDataEncoder as Ur, getDistributeToReceiversInstruction as Us, NtbundleAccount as Ut, fetchAllMaybeBundle as Uu, NTBUNDLE_ERROR__MANAGER_SHARES_ZERO as V, getProcessSwitchInstructionDataCodec as Va, parseApplyFeesToUserInstruction as Vc, getRequestDepositInstructionDataEncoder as Vi, fetchAllMaybeReferrerAccount as Vl, parseSetUserReferrerInstruction as Vn, getManagerWithdrawInstruction as Vo, getSetMinDepositAmountInstructionDataCodec as Vr, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR as Vs, isNtbundleError as Vt, decodeBundle as Vu, NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET as W, parseProcessSwitchInstruction as Wa, getAddStrategyInstruction as Wc, getRequestBundleSwitchDiscriminatorBytes as Wi, fetchReferrerAccount as Wl, getSetUserFeeOverrideInstruction as Wn, getManagerWithdrawInstructionDataDecoder as Wo, parseSetMinDepositAmountInstruction as Wr, getDistributeToReceiversInstructionAsync as Ws, NtbundleInstruction as Wt, fetchBundle as Wu, NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL as X, getProcessReferrerWithdrawalInstructionDataDecoder as Xa, findUserBundleAccountPda as Xc, parseRequestBundleSwitchInstruction as Xi, ORACLE_DATA_DISCRIMINATOR as Xl, SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR as Xn, getInitializePermissionedBundleDepositorInstructionAsync as Xo, getSetMaxDepositAmountInstructionDataEncoder as Xr, getCloseUserBundleAccountDiscriminatorBytes as Xs, getUpdateOracleDiscriminatorBytes as Xt, NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS as Y, getProcessReferrerWithdrawalInstructionDataCodec as Ya, parseAddStrategyInstruction as Yc, getRequestBundleSwitchInstructionDataEncoder as Yi, getReferrerAccountSize as Yl, parseSetUserFeeOverrideInstruction as Yn, getInitializePermissionedBundleDepositorInstruction as Yo, getSetMaxDepositAmountInstructionDataDecoder as Yr, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR as Ys, UPDATE_ORACLE_DISCRIMINATOR as Yt, getBundleEncoder as Yu, NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR as Z, getProcessReferrerWithdrawalInstructionDataEncoder as Za, findTargetUserBundleAccountPda as Zc, REMOVE_STRATEGY_DISCRIMINATOR as Zi, decodeOracleData as Zl, getSetReferrerRateOverrideDiscriminatorBytes as Zn, getInitializePermissionedBundleDepositorInstructionDataCodec as Zo, parseSetMaxDepositAmountInstruction as Zr, getCloseUserBundleAccountInstruction as Zs, getUpdateOracleInstruction as Zt, NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE as _, getRefundDepositInstructionDataCodec as _a, getClearUserFeeOverrideInstructionDataEncoder as _c, getSetDelaysInstructionDataEncoder as _i, USER_BUNDLE_ACCOUNT_DISCRIMINATOR as _l, getStartDistributionInstructionDataEncoder as _n, getPauseDepositsWithdrawalsInstruction as _o, SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR as _r, INITIALIZE_BUNDLE_DISCRIMINATOR as _s, NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW as _t, getBundleTempDataSize as _u, NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED as a, REGISTER_REFERRER_DISCRIMINATOR as aa, getClearUserWithdrawalTimingOverrideInstruction as ac, SET_FEES_DISCRIMINATOR as ai, findSourceBundleAssetAuthorityPda as al, getUpdateAllocationsInstruction as an, getProcessDepositInstructionDataEncoder as ao, getSetReferrerConfigInstruction as ar, getInitializeBundleMasterAccountInstructionDataCodec as as, NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS as at, getOracleDataEncoder as au, NTBUNDLE_ERROR__INSUFFICIENT_FUNDS as b, parseRefundDepositInstruction as ba, getChangeManagerDiscriminatorBytes as bc, getSetBundleCreatorDiscriminatorBytes as bi, fetchAllUserBundleAccount as bl, getSetWithdrawalRedemptionScheduleDiscriminatorBytes as bn, getPauseDepositsWithdrawalsInstructionDataDecoder as bo, getSetOracleUpdateTimeLimitInstructionDataCodec as br, getInitializeBundleInstructionAsync as bs, NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID as bt, fetchAllBundleMasterAccount as bu, NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO as c, getRegisterReferrerInstructionAsync as ca, getClearUserWithdrawalTimingOverrideInstructionDataDecoder as cc, getSetFeesInstructionDataCodec as ci, findReferrerAccountPda as cl, getUpdateAllocationsInstructionDataDecoder as cn, getPerformRefillDiscriminatorBytes as co, getSetReferrerConfigInstructionDataEncoder as cr, parseInitializeBundleMasterAccountInstruction as cs, NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO as ct, decodeBundleTempData as cu, NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED as d, getRegisterReferrerInstructionDataEncoder as da, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR as dc, parseSetFeesInstruction as di, findCloseUserBundleAccountUserBundleAccountPda as dl, START_DISTRIBUTION_DISCRIMINATOR as dn, getPerformRefillInstructionDataCodec as do, getSetReferrerActiveDiscriminatorBytes as dr, getInitializeBundleDepositorInstruction as ds, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED as dt, fetchBundleTempData as du, getRemoveStrategyInstructionAsync as ea, getCloseUserBundleAccountInstructionDataDecoder as ec, getSetKeeperInstruction as ei, findTargetBundleTempDataPda as el, getUpdateOracleInstructionDataDecoder as en, getProcessDepositDiscriminatorBytes as eo, getSetReferrerRateOverrideInstructionDataDecoder as er, parseInitializePermissionedBundleDepositorInstruction as es, NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT as et, fetchMaybeOracleData as eu, NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST as f, parseRegisterReferrerInstruction as fa, getClearUserFeeOverrideDiscriminatorBytes as fc, SET_DELAYS_DISCRIMINATOR as fi, findBundleTempDataPda as fl, getStartDistributionDiscriminatorBytes as fn, getPerformRefillInstructionDataDecoder as fo, getSetReferrerActiveInstruction as fr, getInitializeBundleDepositorInstructionAsync as fs, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO as ft, fetchMaybeBundleTempData as fu, NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE as g, getRefundDepositInstructionAsync as ga, getClearUserFeeOverrideInstructionDataDecoder as gc, getSetDelaysInstructionDataDecoder as gi, findBundleAccountPda as gl, getStartDistributionInstructionDataDecoder as gn, getPauseDepositsWithdrawalsDiscriminatorBytes as go, parseSetReferrerActiveInstruction as gr, parseInitializeBundleDepositorInstruction as gs, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING as gt, getBundleTempDataEncoder as gu, NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE as h, getRefundDepositInstruction as ha, getClearUserFeeOverrideInstructionDataCodec as hc, getSetDelaysInstructionDataCodec as hi, findBundleAssetAuthorityPda as hl, getStartDistributionInstructionDataCodec as hn, PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR as ho, getSetReferrerActiveInstructionDataEncoder as hr, getInitializeBundleDepositorInstructionDataEncoder as hs, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH as ht, getBundleTempDataDiscriminatorBytes as hu, NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX as i, parseRemoveStrategyInstruction as ia, getClearUserWithdrawalTimingOverrideDiscriminatorBytes as ic, parseSetKeeperInstruction as ii, findSourceBundleTempDataPda as il, getUpdateAllocationsDiscriminatorBytes as in, getProcessDepositInstructionDataDecoder as io, getSetReferrerConfigDiscriminatorBytes as ir, getInitializeBundleMasterAccountInstructionAsync as is, NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS as it, getOracleDataDiscriminatorBytes as iu, NTBUNDLE_ERROR__INVALID_RECEIVER as j, getProcessWithdrawalInstruction as ja, getChangeBundleMasterAdminInstructionDataDecoder as jc, getRequestWithdrawalInstructionDataCodec as ji, fetchAllStrategy as jl, getSetUserWithdrawalTimingOverrideInstructionDataDecoder as jn, MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR as jo, SET_ORACLE_BUFFER_DISCRIMINATOR as jr, getEndDistributionInstructionDataEncoder as js, NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR as jt, fetchAllBundleCreatorAccount as ju, NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT as k, PROCESS_WITHDRAWAL_DISCRIMINATOR as ka, getChangeBundleMasterAdminInstructionAsync as kc, getRequestWithdrawalInstruction as ki, decodeStrategy as kl, getSetUserWithdrawalTimingOverrideInstructionAsync as kn, getNetPendingTransactionsInstructionDataEncoder as ko, getSetOracleMaxAgeInstructionDataEncoder as kr, getEndDistributionInstructionDataCodec as ks, NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT as kt, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR as ku, NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO as l, getRegisterReferrerInstructionDataCodec as la, getClearUserWithdrawalTimingOverrideInstructionDataEncoder as lc, getSetFeesInstructionDataDecoder as li, findPendingBundleAssetAuthorityPda as ll, getUpdateAllocationsInstructionDataEncoder as ln, getPerformRefillInstruction as lo, parseSetReferrerConfigInstruction as lr, INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR as ls, NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER as lt, fetchAllBundleTempData as lu, NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND as m, getRefundDepositDiscriminatorBytes as ma, getClearUserFeeOverrideInstructionAsync as mc, getSetDelaysInstruction as mi, findBundleCreatorAccountPda as ml, getStartDistributionInstructionAsync as mn, parsePerformRefillInstruction as mo, getSetReferrerActiveInstructionDataDecoder as mr, getInitializeBundleDepositorInstructionDataDecoder as ms, NTBUNDLE_ERROR__REFERRAL_ALREADY_SET as mt, getBundleTempDataDecoder as mu, NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS as n, getRemoveStrategyInstructionDataDecoder as na, parseCloseUserBundleAccountInstruction as nc, getSetKeeperInstructionDataDecoder as ni, findSourceUserBundleAccountPda as nl, parseUpdateOracleInstruction as nn, getProcessDepositInstructionAsync as no, parseSetReferrerRateOverrideInstruction as nr, getInitializeBundleMasterAccountDiscriminatorBytes as ns, NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY as nt, getOracleDataCodec as nu, NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED as o, getRegisterReferrerDiscriminatorBytes as oa, getClearUserWithdrawalTimingOverrideInstructionAsync as oc, getSetFeesDiscriminatorBytes as oi, findRequestBundleSwitchUserBundleAccountPda as ol, getUpdateAllocationsInstructionAsync as on, parseProcessDepositInstruction as oo, getSetReferrerConfigInstructionDataCodec as or, getInitializeBundleMasterAccountInstructionDataDecoder as os, NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST as ot, getOracleDataSize as ou, NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST as p, REFUND_DEPOSIT_DISCRIMINATOR as pa, getClearUserFeeOverrideInstruction as pc, getSetDelaysDiscriminatorBytes as pi, findBundleMasterAccountPda as pl, getStartDistributionInstruction as pn, getPerformRefillInstructionDataEncoder as po, getSetReferrerActiveInstructionDataCodec as pr, getInitializeBundleDepositorInstructionDataCodec as ps, NTBUNDLE_ERROR__REFERRALS_DISABLED as pt, getBundleTempDataCodec as pu, NTBUNDLE_ERROR__NETTING_NOT_DONE as q, getProcessReferrerWithdrawalInstruction as qa, getAddStrategyInstructionDataDecoder as qc, getRequestBundleSwitchInstructionDataCodec as qi, getReferrerAccountDiscriminatorBytes as ql, getSetUserFeeOverrideInstructionDataDecoder as qn, INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR as qo, getSetMaxDepositAmountInstruction as qr, getDistributeToReceiversInstructionDataEncoder as qs, ntbundleProgram as qt, getBundleDecoder as qu, NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO as r, getRemoveStrategyInstructionDataEncoder as ra, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR as rc, getSetKeeperInstructionDataEncoder as ri, findSourceOracleDataPda as rl, UPDATE_ALLOCATIONS_DISCRIMINATOR as rn, getProcessDepositInstructionDataCodec as ro, SET_REFERRER_CONFIG_DISCRIMINATOR as rr, getInitializeBundleMasterAccountInstruction as rs, NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO as rt, getOracleDataDecoder as ru, NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER as s, getRegisterReferrerInstruction as sa, getClearUserWithdrawalTimingOverrideInstructionDataCodec as sc, getSetFeesInstruction as si, findReferrerUserBundleAccountPda as sl, getUpdateAllocationsInstructionDataCodec as sn, PERFORM_REFILL_DISCRIMINATOR as so, getSetReferrerConfigInstructionDataDecoder as sr, getInitializeBundleMasterAccountInstructionDataEncoder as ss, NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS as st, BUNDLE_TEMP_DATA_DISCRIMINATOR as su, NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO as t, getRemoveStrategyInstructionDataCodec as ta, getCloseUserBundleAccountInstructionDataEncoder as tc, getSetKeeperInstructionDataCodec as ti, findStrategyAccountPda as tl, getUpdateOracleInstructionDataEncoder as tn, getProcessDepositInstruction as to, getSetReferrerRateOverrideInstructionDataEncoder as tr, INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR as ts, NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS as tt, fetchOracleData as tu, NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED as u, getRegisterReferrerInstructionDataDecoder as ua, parseClearUserWithdrawalTimingOverrideInstruction as uc, getSetFeesInstructionDataEncoder as ui, findOracleDataPda as ul, parseUpdateAllocationsInstruction as un, getPerformRefillInstructionAsync as uo, SET_REFERRER_ACTIVE_DISCRIMINATOR as ur, getInitializeBundleDepositorDiscriminatorBytes as us, NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED as ut, fetchAllMaybeBundleTempData as uu, NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE as v, getRefundDepositInstructionDataDecoder as va, parseClearUserFeeOverrideInstruction as vc, parseSetDelaysInstruction as vi, decodeUserBundleAccount as vl, parseStartDistributionInstruction as vn, getPauseDepositsWithdrawalsInstructionAsync as vo, getSetOracleUpdateTimeLimitDiscriminatorBytes as vr, getInitializeBundleDiscriminatorBytes as vs, NTBUNDLE_ERROR__REFERRER_SHARES_ZERO as vt, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR as vu, NTBUNDLE_ERROR__INVALID_ASSET_PRECISION as w, getReferrerRequestWithdrawInstructionAsync as wa, getChangeManagerInstructionDataEncoder as wc, getSetBundleCreatorInstructionDataDecoder as wi, getUserBundleAccountDecoder as wl, getSetWithdrawalRedemptionScheduleInstructionDataEncoder as wn, getNetPendingTransactionsDiscriminatorBytes as wo, SET_ORACLE_MAX_AGE_DISCRIMINATOR as wr, parseInitializeBundleInstruction as ws, NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH as wt, getBundleMasterAccountCodec as wu, NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE as x, REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR as xa, getChangeManagerInstruction as xc, getSetBundleCreatorInstruction as xi, fetchMaybeUserBundleAccount as xl, getSetWithdrawalRedemptionScheduleInstruction as xn, getPauseDepositsWithdrawalsInstructionDataEncoder as xo, getSetOracleUpdateTimeLimitInstructionDataDecoder as xr, getInitializeBundleInstructionDataCodec as xs, NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED as xt, fetchAllMaybeBundleMasterAccount as xu, NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE as y, getRefundDepositInstructionDataEncoder as ya, CHANGE_MANAGER_DISCRIMINATOR as yc, SET_BUNDLE_CREATOR_DISCRIMINATOR as yi, fetchAllMaybeUserBundleAccount as yl, SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR as yn, getPauseDepositsWithdrawalsInstructionDataCodec as yo, getSetOracleUpdateTimeLimitInstruction as yr, getInitializeBundleInstruction as ys, NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED as yt, decodeBundleMasterAccount as yu, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE as z, getProcessSwitchInstruction as za, getApplyFeesToUserInstructionDataDecoder as zc, getRequestDepositInstructionDataCodec as zi, REFERRER_ACCOUNT_DISCRIMINATOR as zl, getSetUserReferrerInstructionDataDecoder as zn, MANAGER_WITHDRAW_DISCRIMINATOR as zo, getSetMinDepositAmountDiscriminatorBytes as zr, getEnableStrategyInstructionDataEncoder as zs, NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET as zt, getBundleCreatorAccountSize as zu };
|
|
10355
|
+
export { NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR as $, PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR as $a, getAddStrategyInstructionAsync as $c, getRequestBundleSwitchInstruction as $i, getReferrerAccountCodec as $l, getSetReferrerRateOverrideInstruction as $n, getManagerWithdrawInstructionDataEncoder as $o, SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR as $r, getDistributeToReceiversInstructionDataCodec as $s, getUpdateOracleInstructionAsync as $t, fetchMaybeBundle as $u, NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR as A, getReferrerRequestWithdrawDiscriminatorBytes as Aa, getChangeManagerInstructionDataCodec as Ac, getSetBundleCreatorInstructionAsync as Ai, fetchUserBundleAccount as Al, getSetUserWithdrawalTimingOverrideInstructionAsync as An, parsePauseDepositsWithdrawalsInstruction as Ao, getSetOracleUpdateTimeLimitInstructionDataEncoder as Ar, getInitializeBundleInstructionDataDecoder as As, NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT as At, fetchBundleMasterAccount as Au, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE as B, getProcessWithdrawalInstructionAsync as Ba, getChangeBundleMasterAdminInstructionDataEncoder as Bc, getRequestWithdrawalInstructionDataDecoder as Bi, fetchMaybeStrategy as Bl, getSetUserReferrerInstructionDataDecoder as Bn, getManagerWithdrawWithSplitDiscriminatorBytes as Bo, getSetOracleBufferDiscriminatorBytes as Br, parseEndDistributionInstruction as Bs, NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET as Bt, fetchAllMaybeBundleCreatorAccount as Bu, NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS as C, getRefundDepositInstruction as Ca, getClearUserFeeOverrideInstructionDataCodec as Cc, getSetDelaysInstructionDataCodec as Ci, findBundleAssetAuthorityPda as Cl, getSetWithdrawalRedemptionScheduleInstructionDataCodec as Cn, PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR as Co, getSetReferralTierConfigInstructionDataEncoder as Cr, getInitializeBundleDepositorInstructionDataEncoder as Cs, NTBUNDLE_ERROR__STRATEGY_DISABLED as Ct, getBundleTempDataDiscriminatorBytes as Cu, NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER as D, getRefundDepositInstructionDataEncoder as Da, CHANGE_MANAGER_DISCRIMINATOR as Dc, SET_BUNDLE_CREATOR_DISCRIMINATOR as Di, fetchAllMaybeUserBundleAccount as Dl, SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR as Dn, getPauseDepositsWithdrawalsInstructionDataCodec as Do, getSetOracleUpdateTimeLimitInstruction as Dr, getInitializeBundleInstruction as Ds, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH as Dt, decodeBundleMasterAccount as Du, NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER as E, getRefundDepositInstructionDataDecoder as Ea, parseClearUserFeeOverrideInstruction as Ec, parseSetDelaysInstruction as Ei, decodeUserBundleAccount as El, parseSetWithdrawalRedemptionScheduleInstruction as En, getPauseDepositsWithdrawalsInstructionAsync as Eo, getSetOracleUpdateTimeLimitDiscriminatorBytes as Er, getInitializeBundleDiscriminatorBytes as Es, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING as Et, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR as Eu, NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG as F, getReferrerRequestWithdrawInstructionDataEncoder as Fa, getChangeBundleMasterAdminDiscriminatorBytes as Fc, REQUEST_WITHDRAWAL_DISCRIMINATOR as Fi, getUserBundleAccountSize as Fl, SET_USER_REFERRER_DISCRIMINATOR as Fn, getNetPendingTransactionsInstructionDataCodec as Fo, getSetOracleMaxAgeInstructionDataCodec as Fr, getEndDistributionInstruction as Fs, NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION as Ft, getBundleMasterAccountEncoder as Fu, NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET as G, PROCESS_SWITCH_DISCRIMINATOR as Ga, getApplyFeesToUserInstructionAsync as Gc, getRequestDepositInstruction as Gi, getStrategyEncoder as Gl, getSetUserFeeOverrideInstruction as Gn, getManagerWithdrawWithSplitInstructionDataEncoder as Go, parseSetOracleBufferInstruction as Gr, getEnableStrategyInstructionDataCodec as Gs, NtbundleInstruction as Gt, getBundleCreatorAccountDiscriminatorBytes as Gu, NTBUNDLE_ERROR__MANAGER_SHARES_ZERO as H, getProcessWithdrawalInstructionDataDecoder as Ha, APPLY_FEES_TO_USER_DISCRIMINATOR as Hc, parseRequestWithdrawalInstruction as Hi, getStrategyCodec as Hl, parseSetUserReferrerInstruction as Hn, getManagerWithdrawWithSplitInstructionAsync as Ho, getSetOracleBufferInstructionDataCodec as Hr, getEnableStrategyDiscriminatorBytes as Hs, isNtbundleError as Ht, fetchMaybeBundleCreatorAccount as Hu, NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG as I, parseReferrerRequestWithdrawInstruction as Ia, getChangeBundleMasterAdminInstruction as Ic, getRequestWithdrawalDiscriminatorBytes as Ii, STRATEGY_DISCRIMINATOR as Il, getSetUserReferrerDiscriminatorBytes as In, getNetPendingTransactionsInstructionDataDecoder as Io, getSetOracleMaxAgeInstructionDataDecoder as Ir, getEndDistributionInstructionAsync as Is, NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS as It, getBundleMasterAccountSize as Iu, NTBUNDLE_ERROR__NETTING_NOT_DONE as J, getProcessSwitchInstructionAsync as Ja, getApplyFeesToUserInstructionDataEncoder as Jc, getRequestDepositInstructionDataDecoder as Ji, decodeReferrerAccount as Jl, getSetUserFeeOverrideInstructionDataDecoder as Jn, getManagerWithdrawDiscriminatorBytes as Jo, getSetMinDepositAmountInstruction as Jr, parseEnableStrategyInstruction as Js, ntbundleProgram as Jt, BUNDLE_DISCRIMINATOR as Ju, NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST as K, getProcessSwitchDiscriminatorBytes as Ka, getApplyFeesToUserInstructionDataCodec as Kc, getRequestDepositInstructionAsync as Ki, getStrategySize as Kl, getSetUserFeeOverrideInstructionAsync as Kn, parseManagerWithdrawWithSplitInstruction as Ko, SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR as Kr, getEnableStrategyInstructionDataDecoder as Ks, identifyNtbundleAccount as Kt, getBundleCreatorAccountEncoder as Ku, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT as L, PROCESS_WITHDRAWAL_DISCRIMINATOR as La, getChangeBundleMasterAdminInstructionAsync as Lc, getRequestWithdrawalInstruction as Li, decodeStrategy as Ll, getSetUserReferrerInstruction as Ln, getNetPendingTransactionsInstructionDataEncoder as Lo, getSetOracleMaxAgeInstructionDataEncoder as Lr, getEndDistributionInstructionDataCodec as Ls, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY as Lt, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR as Lu, NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG as M, getReferrerRequestWithdrawInstructionAsync as Ma, getChangeManagerInstructionDataEncoder as Mc, getSetBundleCreatorInstructionDataDecoder as Mi, getUserBundleAccountDecoder as Ml, getSetUserWithdrawalTimingOverrideInstructionDataDecoder as Mn, getNetPendingTransactionsDiscriminatorBytes as Mo, SET_ORACLE_MAX_AGE_DISCRIMINATOR as Mr, parseInitializeBundleInstruction as Ms, NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR as Mt, getBundleMasterAccountCodec as Mu, NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG as N, getReferrerRequestWithdrawInstructionDataCodec as Na, parseChangeManagerInstruction as Nc, getSetBundleCreatorInstructionDataEncoder as Ni, getUserBundleAccountDiscriminatorBytes as Nl, getSetUserWithdrawalTimingOverrideInstructionDataEncoder as Nn, getNetPendingTransactionsInstruction as No, getSetOracleMaxAgeDiscriminatorBytes as Nr, END_DISTRIBUTION_DISCRIMINATOR as Ns, NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION as Nt, getBundleMasterAccountDecoder as Nu, NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE as O, parseRefundDepositInstruction as Oa, getChangeManagerDiscriminatorBytes as Oc, getSetBundleCreatorDiscriminatorBytes as Oi, fetchAllUserBundleAccount as Ol, getSetUserWithdrawalTimingOverrideDiscriminatorBytes as On, getPauseDepositsWithdrawalsInstructionDataDecoder as Oo, getSetOracleUpdateTimeLimitInstructionDataCodec as Or, getInitializeBundleInstructionAsync as Os, NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE as Ot, fetchAllBundleMasterAccount as Ou, NTBUNDLE_ERROR__INVALID_TWAP_PERIOD as P, getReferrerRequestWithdrawInstructionDataDecoder as Pa, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR as Pc, parseSetBundleCreatorInstruction as Pi, getUserBundleAccountEncoder as Pl, parseSetUserWithdrawalTimingOverrideInstruction as Pn, getNetPendingTransactionsInstructionAsync as Po, getSetOracleMaxAgeInstruction as Pr, getEndDistributionDiscriminatorBytes as Ps, NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION as Pt, getBundleMasterAccountDiscriminatorBytes as Pu, NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR as Q, parseProcessSwitchInstruction as Qa, getAddStrategyInstruction as Qc, getRequestBundleSwitchDiscriminatorBytes as Qi, fetchReferrerAccount as Ql, getSetReferrerRateOverrideDiscriminatorBytes as Qn, getManagerWithdrawInstructionDataDecoder as Qo, parseSetMinDepositAmountInstruction as Qr, getDistributeToReceiversInstructionAsync as Qs, getUpdateOracleInstruction as Qt, fetchBundle as Qu, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD as R, getProcessWithdrawalDiscriminatorBytes as Ra, getChangeBundleMasterAdminInstructionDataCodec as Rc, getRequestWithdrawalInstructionAsync as Ri, fetchAllMaybeStrategy as Rl, getSetUserReferrerInstructionAsync as Rn, parseNetPendingTransactionsInstruction as Ro, parseSetOracleMaxAgeInstruction as Rr, getEndDistributionInstructionDataDecoder as Rs, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY as Rt, decodeBundleCreatorAccount as Ru, NTBUNDLE_ERROR__INVALID_ALLOCATIONS as S, getRefundDepositDiscriminatorBytes as Sa, getClearUserFeeOverrideInstructionAsync as Sc, getSetDelaysInstruction as Si, findBundleCreatorAccountPda as Sl, getSetWithdrawalRedemptionScheduleInstruction as Sn, parsePerformRefillInstruction as So, getSetReferralTierConfigInstructionDataDecoder as Sr, getInitializeBundleDepositorInstructionDataDecoder as Ss, NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED as St, getBundleTempDataDecoder as Su, NTBUNDLE_ERROR__INVALID_FEE_SPLIT as T, getRefundDepositInstructionDataCodec as Ta, getClearUserFeeOverrideInstructionDataEncoder as Tc, getSetDelaysInstructionDataEncoder as Ti, USER_BUNDLE_ACCOUNT_DISCRIMINATOR as Tl, getSetWithdrawalRedemptionScheduleInstructionDataEncoder as Tn, getPauseDepositsWithdrawalsInstruction as To, SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR as Tr, INITIALIZE_BUNDLE_DISCRIMINATOR as Ts, NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH as Tt, getBundleTempDataSize as Tu, NTBUNDLE_ERROR__MATH_ERROR as U, getProcessWithdrawalInstructionDataEncoder as Ua, getApplyFeesToUserDiscriminatorBytes as Uc, REQUEST_DEPOSIT_DISCRIMINATOR as Ui, getStrategyDecoder as Ul, SET_USER_FEE_OVERRIDE_DISCRIMINATOR as Un, getManagerWithdrawWithSplitInstructionDataCodec as Uo, getSetOracleBufferInstructionDataDecoder as Ur, getEnableStrategyInstruction as Us, NTBUNDLE_PROGRAM_ADDRESS as Ut, getBundleCreatorAccountCodec as Uu, NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO as V, getProcessWithdrawalInstructionDataCodec as Va, parseChangeBundleMasterAdminInstruction as Vc, getRequestWithdrawalInstructionDataEncoder as Vi, fetchStrategy as Vl, getSetUserReferrerInstructionDataEncoder as Vn, getManagerWithdrawWithSplitInstruction as Vo, getSetOracleBufferInstruction as Vr, ENABLE_STRATEGY_DISCRIMINATOR as Vs, getNtbundleErrorMessage as Vt, fetchBundleCreatorAccount as Vu, NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED as W, parseProcessWithdrawalInstruction as Wa, getApplyFeesToUserInstruction as Wc, getRequestDepositDiscriminatorBytes as Wi, getStrategyDiscriminatorBytes as Wl, getSetUserFeeOverrideDiscriminatorBytes as Wn, getManagerWithdrawWithSplitInstructionDataDecoder as Wo, getSetOracleBufferInstructionDataEncoder as Wr, getEnableStrategyInstructionAsync as Ws, NtbundleAccount as Wt, getBundleCreatorAccountDecoder as Wu, NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS as X, getProcessSwitchInstructionDataDecoder as Xa, ADD_STRATEGY_DISCRIMINATOR as Xc, parseRequestDepositInstruction as Xi, fetchAllReferrerAccount as Xl, parseSetUserFeeOverrideInstruction as Xn, getManagerWithdrawInstructionAsync as Xo, getSetMinDepositAmountInstructionDataDecoder as Xr, getDistributeToReceiversDiscriminatorBytes as Xs, UPDATE_ORACLE_DISCRIMINATOR as Xt, fetchAllBundle as Xu, NTBUNDLE_ERROR__NO_PENDING_SWITCH as Y, getProcessSwitchInstructionDataCodec as Ya, parseApplyFeesToUserInstruction as Yc, getRequestDepositInstructionDataEncoder as Yi, fetchAllMaybeReferrerAccount as Yl, getSetUserFeeOverrideInstructionDataEncoder as Yn, getManagerWithdrawInstruction as Yo, getSetMinDepositAmountInstructionDataCodec as Yr, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR as Ys, parseNtbundleInstruction as Yt, decodeBundle as Yu, NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL as Z, getProcessSwitchInstructionDataEncoder as Za, getAddStrategyDiscriminatorBytes as Zc, REQUEST_BUNDLE_SWITCH_DISCRIMINATOR as Zi, fetchMaybeReferrerAccount as Zl, SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR as Zn, getManagerWithdrawInstructionDataCodec as Zo, getSetMinDepositAmountInstructionDataEncoder as Zr, getDistributeToReceiversInstruction as Zs, getUpdateOracleDiscriminatorBytes as Zt, fetchAllMaybeBundle as Zu, NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE as _, getRegisterReferrerInstructionDataCodec as _a, getClearUserWithdrawalTimingOverrideInstructionDataEncoder as _c, getSetFeesInstructionDataDecoder as _i, findPendingBundleAssetAuthorityPda as _l, getStartDistributionInstructionDataDecoder as _n, getPerformRefillInstruction as _o, parseSetReferrerActiveInstruction as _r, INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR as _s, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING as _t, fetchAllBundleTempData as _u, NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED as a, REMOVE_STRATEGY_DISCRIMINATOR as aa, getCloseUserBundleAccountInstruction as ac, getReferralTierDecoder as ad, parseSetMaxDepositAmountInstruction as ai, findTargetUserBundleAccountPda as al, getUpdateAllocationsDiscriminatorBytes as an, getProcessReferrerWithdrawalInstructionDataEncoder as ao, getSetReferrerConfigDiscriminatorBytes as ar, getInitializePermissionedBundleDepositorInstructionDataCodec as as, NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS as at, decodeOracleData as au, NTBUNDLE_ERROR__INSUFFICIENT_FUNDS as b, parseRegisterReferrerInstruction as ba, getClearUserFeeOverrideDiscriminatorBytes as bc, SET_DELAYS_DISCRIMINATOR as bi, findBundleTempDataPda as bl, SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR as bn, getPerformRefillInstructionDataDecoder as bo, getSetReferralTierConfigInstruction as br, getInitializeBundleDepositorInstructionAsync as bs, NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED as bt, fetchMaybeBundleTempData as bu, NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO as c, getRemoveStrategyInstructionAsync as ca, getCloseUserBundleAccountInstructionDataDecoder as cc, getSetKeeperInstruction as ci, findTargetBundleTempDataPda as cl, getUpdateAllocationsInstructionDataCodec as cn, getProcessDepositDiscriminatorBytes as co, getSetReferrerConfigInstructionDataDecoder as cr, parseInitializePermissionedBundleDepositorInstruction as cs, NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS as ct, fetchMaybeOracleData as cu, NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED as d, getRemoveStrategyInstructionDataEncoder as da, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR as dc, getSetKeeperInstructionDataEncoder as di, findSourceOracleDataPda as dl, parseUpdateAllocationsInstruction as dn, getProcessDepositInstructionDataCodec as do, SET_REFERRER_ACTIVE_DISCRIMINATOR as dr, getInitializeBundleMasterAccountInstruction as ds, NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED as dt, getOracleDataDecoder as du, getRequestBundleSwitchInstructionAsync as ea, getDistributeToReceiversInstructionDataDecoder as ec, getBundleCodec as ed, getSetMaxDepositAmountDiscriminatorBytes as ei, getAddStrategyInstructionDataCodec as el, getUpdateOracleInstructionDataCodec as en, getProcessReferrerWithdrawalDiscriminatorBytes as eo, getSetReferrerRateOverrideInstructionDataCodec as er, parseManagerWithdrawInstruction as es, NTBUNDLE_ERROR__ORACLE_NOT_UPDATED as et, getReferrerAccountDecoder as eu, NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST as f, parseRemoveStrategyInstruction as fa, getClearUserWithdrawalTimingOverrideDiscriminatorBytes as fc, parseSetKeeperInstruction as fi, findSourceBundleTempDataPda as fl, START_DISTRIBUTION_DISCRIMINATOR as fn, getProcessDepositInstructionDataDecoder as fo, getSetReferrerActiveDiscriminatorBytes as fr, getInitializeBundleMasterAccountInstructionAsync as fs, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED as ft, getOracleDataDiscriminatorBytes as fu, NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE as g, getRegisterReferrerInstructionAsync as ga, getClearUserWithdrawalTimingOverrideInstructionDataDecoder as gc, getSetFeesInstructionDataCodec as gi, findReferrerAccountPda as gl, getStartDistributionInstructionDataCodec as gn, getPerformRefillDiscriminatorBytes as go, getSetReferrerActiveInstructionDataEncoder as gr, parseInitializeBundleMasterAccountInstruction as gs, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH as gt, decodeBundleTempData as gu, NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE as h, getRegisterReferrerInstruction as ha, getClearUserWithdrawalTimingOverrideInstructionDataCodec as hc, getSetFeesInstruction as hi, findReferrerUserBundleAccountPda as hl, getStartDistributionInstructionAsync as hn, PERFORM_REFILL_DISCRIMINATOR as ho, getSetReferrerActiveInstructionDataDecoder as hr, getInitializeBundleMasterAccountInstructionDataEncoder as hs, NTBUNDLE_ERROR__REFERRAL_ALREADY_SET as ht, BUNDLE_TEMP_DATA_DISCRIMINATOR as hu, NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX as i, parseRequestBundleSwitchInstruction as ia, getCloseUserBundleAccountDiscriminatorBytes as ic, getReferralTierCodec as id, getSetMaxDepositAmountInstructionDataEncoder as ii, findUserBundleAccountPda as il, UPDATE_ALLOCATIONS_DISCRIMINATOR as in, getProcessReferrerWithdrawalInstructionDataDecoder as io, SET_REFERRER_CONFIG_DISCRIMINATOR as ir, getInitializePermissionedBundleDepositorInstructionAsync as is, NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO as it, ORACLE_DATA_DISCRIMINATOR as iu, NTBUNDLE_ERROR__INVALID_RECEIVER as j, getReferrerRequestWithdrawInstruction as ja, getChangeManagerInstructionDataDecoder as jc, getSetBundleCreatorInstructionDataCodec as ji, getUserBundleAccountCodec as jl, getSetUserWithdrawalTimingOverrideInstructionDataCodec as jn, NET_PENDING_TRANSACTIONS_DISCRIMINATOR as jo, parseSetOracleUpdateTimeLimitInstruction as jr, getInitializeBundleInstructionDataEncoder as js, NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION as jt, fetchMaybeBundleMasterAccount as ju, NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT as k, REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR as ka, getChangeManagerInstruction as kc, getSetBundleCreatorInstruction as ki, fetchMaybeUserBundleAccount as kl, getSetUserWithdrawalTimingOverrideInstruction as kn, getPauseDepositsWithdrawalsInstructionDataEncoder as ko, getSetOracleUpdateTimeLimitInstructionDataDecoder as kr, getInitializeBundleInstructionDataCodec as ks, NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS as kt, fetchAllMaybeBundleMasterAccount as ku, NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO as l, getRemoveStrategyInstructionDataCodec as la, getCloseUserBundleAccountInstructionDataEncoder as lc, getSetKeeperInstructionDataCodec as li, findStrategyAccountPda as ll, getUpdateAllocationsInstructionDataDecoder as ln, getProcessDepositInstruction as lo, getSetReferrerConfigInstructionDataEncoder as lr, INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR as ls, NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO as lt, fetchOracleData as lu, NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND as m, getRegisterReferrerDiscriminatorBytes as ma, getClearUserWithdrawalTimingOverrideInstructionAsync as mc, getSetFeesDiscriminatorBytes as mi, findRequestBundleSwitchUserBundleAccountPda as ml, getStartDistributionInstruction as mn, parseProcessDepositInstruction as mo, getSetReferrerActiveInstructionDataCodec as mr, getInitializeBundleMasterAccountInstructionDataDecoder as ms, NTBUNDLE_ERROR__REFERRALS_DISABLED as mt, getOracleDataSize as mu, NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS as n, getRequestBundleSwitchInstructionDataDecoder as na, parseDistributeToReceiversInstruction as nc, getBundleDiscriminatorBytes as nd, getSetMaxDepositAmountInstructionDataCodec as ni, getAddStrategyInstructionDataEncoder as nl, getUpdateOracleInstructionDataEncoder as nn, getProcessReferrerWithdrawalInstructionAsync as no, getSetReferrerRateOverrideInstructionDataEncoder as nr, getInitializePermissionedBundleDepositorDiscriminatorBytes as ns, NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS as nt, getReferrerAccountEncoder as nu, NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED as o, getRemoveStrategyDiscriminatorBytes as oa, getCloseUserBundleAccountInstructionAsync as oc, getReferralTierEncoder as od, SET_KEEPER_DISCRIMINATOR as oi, findTargetPendingBundleAssetAuthorityPda as ol, getUpdateAllocationsInstruction as on, parseProcessReferrerWithdrawalInstruction as oo, getSetReferrerConfigInstruction as or, getInitializePermissionedBundleDepositorInstructionDataDecoder as os, NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS as ot, fetchAllMaybeOracleData as ou, NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST as p, REGISTER_REFERRER_DISCRIMINATOR as pa, getClearUserWithdrawalTimingOverrideInstruction as pc, SET_FEES_DISCRIMINATOR as pi, findSourceBundleAssetAuthorityPda as pl, getStartDistributionDiscriminatorBytes as pn, getProcessDepositInstructionDataEncoder as po, getSetReferrerActiveInstruction as pr, getInitializeBundleMasterAccountInstructionDataCodec as ps, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO as pt, getOracleDataEncoder as pu, NTBUNDLE_ERROR__NETTING_ALREADY_DONE as q, getProcessSwitchInstruction as qa, getApplyFeesToUserInstructionDataDecoder as qc, getRequestDepositInstructionDataCodec as qi, REFERRER_ACCOUNT_DISCRIMINATOR as ql, getSetUserFeeOverrideInstructionDataCodec as qn, MANAGER_WITHDRAW_DISCRIMINATOR as qo, getSetMinDepositAmountDiscriminatorBytes as qr, getEnableStrategyInstructionDataEncoder as qs, identifyNtbundleInstruction as qt, getBundleCreatorAccountSize as qu, NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO as r, getRequestBundleSwitchInstructionDataEncoder as ra, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR as rc, getBundleEncoder as rd, getSetMaxDepositAmountInstructionDataDecoder as ri, parseAddStrategyInstruction as rl, parseUpdateOracleInstruction as rn, getProcessReferrerWithdrawalInstructionDataCodec as ro, parseSetReferrerRateOverrideInstruction as rr, getInitializePermissionedBundleDepositorInstruction as rs, NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY as rt, getReferrerAccountSize as ru, NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER as s, getRemoveStrategyInstruction as sa, getCloseUserBundleAccountInstructionDataCodec as sc, getSetKeeperDiscriminatorBytes as si, findTargetOracleDataPda as sl, getUpdateAllocationsInstructionAsync as sn, PROCESS_DEPOSIT_DISCRIMINATOR as so, getSetReferrerConfigInstructionDataCodec as sr, getInitializePermissionedBundleDepositorInstructionDataEncoder as ss, NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST as st, fetchAllOracleData as su, NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO as t, getRequestBundleSwitchInstructionDataCodec as ta, getDistributeToReceiversInstructionDataEncoder as tc, getBundleDecoder as td, getSetMaxDepositAmountInstruction as ti, getAddStrategyInstructionDataDecoder as tl, getUpdateOracleInstructionDataDecoder as tn, getProcessReferrerWithdrawalInstruction as to, getSetReferrerRateOverrideInstructionDataDecoder as tr, INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR as ts, NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT as tt, getReferrerAccountDiscriminatorBytes as tu, NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED as u, getRemoveStrategyInstructionDataDecoder as ua, parseCloseUserBundleAccountInstruction as uc, getSetKeeperInstructionDataDecoder as ui, findSourceUserBundleAccountPda as ul, getUpdateAllocationsInstructionDataEncoder as un, getProcessDepositInstructionAsync as uo, parseSetReferrerConfigInstruction as ur, getInitializeBundleMasterAccountDiscriminatorBytes as us, NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER as ut, getOracleDataCodec as uu, NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE as v, getRegisterReferrerInstructionDataDecoder as va, parseClearUserWithdrawalTimingOverrideInstruction as vc, getSetFeesInstructionDataEncoder as vi, findOracleDataPda as vl, getStartDistributionInstructionDataEncoder as vn, getPerformRefillInstructionAsync as vo, SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR as vr, getInitializeBundleDepositorDiscriminatorBytes as vs, NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW as vt, fetchAllMaybeBundleTempData as vu, NTBUNDLE_ERROR__INVALID_ASSET_PRECISION as w, getRefundDepositInstructionAsync as wa, getClearUserFeeOverrideInstructionDataDecoder as wc, getSetDelaysInstructionDataDecoder as wi, findBundleAccountPda as wl, getSetWithdrawalRedemptionScheduleInstructionDataDecoder as wn, getPauseDepositsWithdrawalsDiscriminatorBytes as wo, parseSetReferralTierConfigInstruction as wr, parseInitializeBundleDepositorInstruction as ws, NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE as wt, getBundleTempDataEncoder as wu, NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE as x, REFUND_DEPOSIT_DISCRIMINATOR as xa, getClearUserFeeOverrideInstruction as xc, getSetDelaysDiscriminatorBytes as xi, findBundleMasterAccountPda as xl, getSetWithdrawalRedemptionScheduleDiscriminatorBytes as xn, getPerformRefillInstructionDataEncoder as xo, getSetReferralTierConfigInstructionDataCodec as xr, getInitializeBundleDepositorInstructionDataCodec as xs, NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID as xt, getBundleTempDataCodec as xu, NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE as y, getRegisterReferrerInstructionDataEncoder as ya, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR as yc, parseSetFeesInstruction as yi, findCloseUserBundleAccountUserBundleAccountPda as yl, parseStartDistributionInstruction as yn, getPerformRefillInstructionDataCodec as yo, getSetReferralTierConfigDiscriminatorBytes as yr, getInitializeBundleDepositorInstruction as ys, NTBUNDLE_ERROR__REFERRER_SHARES_ZERO as yt, fetchBundleTempData as yu, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY as z, getProcessWithdrawalInstruction as za, getChangeBundleMasterAdminInstructionDataDecoder as zc, getRequestWithdrawalInstructionDataCodec as zi, fetchAllStrategy as zl, getSetUserReferrerInstructionDataCodec as zn, MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR as zo, SET_ORACLE_BUFFER_DISCRIMINATOR as zr, getEndDistributionInstructionDataEncoder as zs, NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED as zt, fetchAllBundleCreatorAccount as zu };
|