flash-sdk 11.1.1 → 11.1.3

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.
@@ -4,7 +4,7 @@ import { Program, AnchorProvider, BN } from "@coral-xyz/anchor";
4
4
  import { PublicKey, TransactionInstruction, Commitment, Signer, AddressLookupTableAccount, VersionedTransaction } from "@solana/web3.js";
5
5
  import { PoolAccount } from "./PoolAccount";
6
6
  import { PositionAccount } from "./PositionAccount";
7
- import { AddLiquidityAmountAndFee, InternalPrice, BorrowRateParams, ExitPriceAndFee, Fees, OracleParams, Permissions, PricingParams, RemoveCollateralData, RemoveLiquidityAmountAndFee, Side, TokenRatios, MinAndMaxPrice, FeesAction, ContractOraclePrice, Privilege, PerpetualsAccount, EntryPriceAndFeeV2, TokenPermissions, TokenStake, InternalEmaPrice } from "./types";
7
+ import { AddLiquidityAmountAndFee, InternalPrice, BorrowRateParams, ExitPriceAndFee, Fees, OracleParams, Permissions, PricingParams, RemoveCollateralData, RemoveLiquidityAmountAndFee, Side, TokenRatios, MinAndMaxPrice, FeesAction, ContractOraclePrice, Privilege, PerpetualsAccount, EntryPriceAndFeeV2, TokenPermissions, TokenStake, InternalEmaPrice, Whitelist } from "./types";
8
8
  import { OraclePrice } from "./OraclePrice";
9
9
  import { CustodyAccount } from "./CustodyAccount";
10
10
  import { Perpetuals } from "./idl/perpetuals";
@@ -310,7 +310,7 @@ export declare class PerpetualsClient {
310
310
  }[];
311
311
  markets: PublicKey[];
312
312
  maxAumUsd: BN;
313
- buffer: number | BN;
313
+ buffer: number | BN | number[];
314
314
  rawAumUsd: BN;
315
315
  equityUsd: BN;
316
316
  totalStaked: {
@@ -430,6 +430,9 @@ export declare class PerpetualsClient {
430
430
  counter: BN;
431
431
  tokenStakeAccount: PublicKey;
432
432
  burnt: boolean;
433
+ isSwapFeeExempt: boolean;
434
+ isDepositFeeExempt: boolean;
435
+ isWithdrawalFeeExempt: boolean;
433
436
  }>;
434
437
  getPoolKey: (name: string) => PublicKey;
435
438
  getPool: (name: string) => Promise<{
@@ -663,7 +666,7 @@ export declare class PerpetualsClient {
663
666
  }[];
664
667
  markets: PublicKey[];
665
668
  maxAumUsd: BN;
666
- buffer: number | BN;
669
+ buffer: number | BN | number[];
667
670
  rawAumUsd: BN;
668
671
  equityUsd: BN;
669
672
  totalStaked: {
@@ -783,6 +786,9 @@ export declare class PerpetualsClient {
783
786
  counter: BN;
784
787
  tokenStakeAccount: PublicKey;
785
788
  burnt: boolean;
789
+ isSwapFeeExempt: boolean;
790
+ isDepositFeeExempt: boolean;
791
+ isWithdrawalFeeExempt: boolean;
786
792
  }>;
787
793
  getPools: () => Promise<{
788
794
  pool: PublicKey;
@@ -1015,7 +1021,7 @@ export declare class PerpetualsClient {
1015
1021
  }[];
1016
1022
  markets: PublicKey[];
1017
1023
  maxAumUsd: BN;
1018
- buffer: number | BN;
1024
+ buffer: number | BN | number[];
1019
1025
  rawAumUsd: BN;
1020
1026
  equityUsd: BN;
1021
1027
  totalStaked: {
@@ -1135,6 +1141,9 @@ export declare class PerpetualsClient {
1135
1141
  counter: BN;
1136
1142
  tokenStakeAccount: PublicKey;
1137
1143
  burnt: boolean;
1144
+ isSwapFeeExempt: boolean;
1145
+ isDepositFeeExempt: boolean;
1146
+ isWithdrawalFeeExempt: boolean;
1138
1147
  }[]>;
1139
1148
  getPoolLpTokenKey: (name: string) => PublicKey;
1140
1149
  getPoolCompoundingTokenKey: (name: string) => PublicKey;
@@ -1371,7 +1380,7 @@ export declare class PerpetualsClient {
1371
1380
  }[];
1372
1381
  markets: PublicKey[];
1373
1382
  maxAumUsd: BN;
1374
- buffer: number | BN;
1383
+ buffer: number | BN | number[];
1375
1384
  rawAumUsd: BN;
1376
1385
  equityUsd: BN;
1377
1386
  totalStaked: {
@@ -1491,6 +1500,9 @@ export declare class PerpetualsClient {
1491
1500
  counter: BN;
1492
1501
  tokenStakeAccount: PublicKey;
1493
1502
  burnt: boolean;
1503
+ isSwapFeeExempt: boolean;
1504
+ isDepositFeeExempt: boolean;
1505
+ isWithdrawalFeeExempt: boolean;
1494
1506
  }>;
1495
1507
  getMarketPk(targetCustody: PublicKey, collateralCustody: PublicKey, side: Side): PublicKey;
1496
1508
  getPositionKey(owner: PublicKey, targetCustody: PublicKey, collateralCustody: PublicKey, side: Side): PublicKey;
@@ -1726,7 +1738,7 @@ export declare class PerpetualsClient {
1726
1738
  }[];
1727
1739
  markets: PublicKey[];
1728
1740
  maxAumUsd: BN;
1729
- buffer: number | BN;
1741
+ buffer: number | BN | number[];
1730
1742
  rawAumUsd: BN;
1731
1743
  equityUsd: BN;
1732
1744
  totalStaked: {
@@ -1846,6 +1858,9 @@ export declare class PerpetualsClient {
1846
1858
  counter: BN;
1847
1859
  tokenStakeAccount: PublicKey;
1848
1860
  burnt: boolean;
1861
+ isSwapFeeExempt: boolean;
1862
+ isDepositFeeExempt: boolean;
1863
+ isWithdrawalFeeExempt: boolean;
1849
1864
  }>;
1850
1865
  getPositionData: (position: PositionAccount, poolConfig: PoolConfig) => Promise<any>;
1851
1866
  getOrderAccount: (orderAccountKey: PublicKey) => Promise<{
@@ -2079,7 +2094,7 @@ export declare class PerpetualsClient {
2079
2094
  }[];
2080
2095
  markets: PublicKey[];
2081
2096
  maxAumUsd: BN;
2082
- buffer: number | BN;
2097
+ buffer: number | BN | number[];
2083
2098
  rawAumUsd: BN;
2084
2099
  equityUsd: BN;
2085
2100
  totalStaked: {
@@ -2199,6 +2214,9 @@ export declare class PerpetualsClient {
2199
2214
  counter: BN;
2200
2215
  tokenStakeAccount: PublicKey;
2201
2216
  burnt: boolean;
2217
+ isSwapFeeExempt: boolean;
2218
+ isDepositFeeExempt: boolean;
2219
+ isWithdrawalFeeExempt: boolean;
2202
2220
  }>;
2203
2221
  getUserPosition: (owner: PublicKey, targetCustody: PublicKey, collateralCustody: PublicKey, side: Side) => Promise<{
2204
2222
  pool: PublicKey;
@@ -2431,7 +2449,7 @@ export declare class PerpetualsClient {
2431
2449
  }[];
2432
2450
  markets: PublicKey[];
2433
2451
  maxAumUsd: BN;
2434
- buffer: number | BN;
2452
+ buffer: number | BN | number[];
2435
2453
  rawAumUsd: BN;
2436
2454
  equityUsd: BN;
2437
2455
  totalStaked: {
@@ -2551,6 +2569,9 @@ export declare class PerpetualsClient {
2551
2569
  counter: BN;
2552
2570
  tokenStakeAccount: PublicKey;
2553
2571
  burnt: boolean;
2572
+ isSwapFeeExempt: boolean;
2573
+ isDepositFeeExempt: boolean;
2574
+ isWithdrawalFeeExempt: boolean;
2554
2575
  }>;
2555
2576
  getUserOrderAccount: (owner: PublicKey, targetCustody: PublicKey, collateralCustody: PublicKey, side: Side) => Promise<{
2556
2577
  pool: PublicKey;
@@ -2783,7 +2804,7 @@ export declare class PerpetualsClient {
2783
2804
  }[];
2784
2805
  markets: PublicKey[];
2785
2806
  maxAumUsd: BN;
2786
- buffer: number | BN;
2807
+ buffer: number | BN | number[];
2787
2808
  rawAumUsd: BN;
2788
2809
  equityUsd: BN;
2789
2810
  totalStaked: {
@@ -2903,6 +2924,9 @@ export declare class PerpetualsClient {
2903
2924
  counter: BN;
2904
2925
  tokenStakeAccount: PublicKey;
2905
2926
  burnt: boolean;
2927
+ isSwapFeeExempt: boolean;
2928
+ isDepositFeeExempt: boolean;
2929
+ isWithdrawalFeeExempt: boolean;
2906
2930
  }>;
2907
2931
  getUserPositions: (wallet: PublicKey, poolConfig: PoolConfig) => Promise<{
2908
2932
  owner: PublicKey;
@@ -3186,7 +3210,7 @@ export declare class PerpetualsClient {
3186
3210
  }[];
3187
3211
  markets: PublicKey[];
3188
3212
  maxAumUsd: BN;
3189
- buffer: number | BN;
3213
+ buffer: number | BN | number[];
3190
3214
  rawAumUsd: BN;
3191
3215
  equityUsd: BN;
3192
3216
  totalStaked: {
@@ -3306,6 +3330,9 @@ export declare class PerpetualsClient {
3306
3330
  counter: BN;
3307
3331
  tokenStakeAccount: PublicKey;
3308
3332
  burnt: boolean;
3333
+ isSwapFeeExempt: boolean;
3334
+ isDepositFeeExempt: boolean;
3335
+ isWithdrawalFeeExempt: boolean;
3309
3336
  }>[]>;
3310
3337
  getAllActivePositions: () => Promise<import("@coral-xyz/anchor").ProgramAccount<{
3311
3338
  pool: PublicKey;
@@ -3538,7 +3565,7 @@ export declare class PerpetualsClient {
3538
3565
  }[];
3539
3566
  markets: PublicKey[];
3540
3567
  maxAumUsd: BN;
3541
- buffer: number | BN;
3568
+ buffer: number | BN | number[];
3542
3569
  rawAumUsd: BN;
3543
3570
  equityUsd: BN;
3544
3571
  totalStaked: {
@@ -3658,6 +3685,9 @@ export declare class PerpetualsClient {
3658
3685
  counter: BN;
3659
3686
  tokenStakeAccount: PublicKey;
3660
3687
  burnt: boolean;
3688
+ isSwapFeeExempt: boolean;
3689
+ isDepositFeeExempt: boolean;
3690
+ isWithdrawalFeeExempt: boolean;
3661
3691
  }>[]>;
3662
3692
  getAllPositionsByMarket: (marketKey: PublicKey) => Promise<import("@coral-xyz/anchor").ProgramAccount<{
3663
3693
  pool: PublicKey;
@@ -3890,7 +3920,7 @@ export declare class PerpetualsClient {
3890
3920
  }[];
3891
3921
  markets: PublicKey[];
3892
3922
  maxAumUsd: BN;
3893
- buffer: number | BN;
3923
+ buffer: number | BN | number[];
3894
3924
  rawAumUsd: BN;
3895
3925
  equityUsd: BN;
3896
3926
  totalStaked: {
@@ -4010,6 +4040,9 @@ export declare class PerpetualsClient {
4010
4040
  counter: BN;
4011
4041
  tokenStakeAccount: PublicKey;
4012
4042
  burnt: boolean;
4043
+ isSwapFeeExempt: boolean;
4044
+ isDepositFeeExempt: boolean;
4045
+ isWithdrawalFeeExempt: boolean;
4013
4046
  }>[]>;
4014
4047
  getAllActivePositionsByMarket: (marketKey: PublicKey) => Promise<import("@coral-xyz/anchor").ProgramAccount<{
4015
4048
  pool: PublicKey;
@@ -4242,7 +4275,7 @@ export declare class PerpetualsClient {
4242
4275
  }[];
4243
4276
  markets: PublicKey[];
4244
4277
  maxAumUsd: BN;
4245
- buffer: number | BN;
4278
+ buffer: number | BN | number[];
4246
4279
  rawAumUsd: BN;
4247
4280
  equityUsd: BN;
4248
4281
  totalStaked: {
@@ -4362,6 +4395,9 @@ export declare class PerpetualsClient {
4362
4395
  counter: BN;
4363
4396
  tokenStakeAccount: PublicKey;
4364
4397
  burnt: boolean;
4398
+ isSwapFeeExempt: boolean;
4399
+ isDepositFeeExempt: boolean;
4400
+ isWithdrawalFeeExempt: boolean;
4365
4401
  }>[]>;
4366
4402
  getAllOrderAccounts: () => Promise<import("@coral-xyz/anchor").ProgramAccount<{
4367
4403
  pool: PublicKey;
@@ -4594,7 +4630,7 @@ export declare class PerpetualsClient {
4594
4630
  }[];
4595
4631
  markets: PublicKey[];
4596
4632
  maxAumUsd: BN;
4597
- buffer: number | BN;
4633
+ buffer: number | BN | number[];
4598
4634
  rawAumUsd: BN;
4599
4635
  equityUsd: BN;
4600
4636
  totalStaked: {
@@ -4714,6 +4750,9 @@ export declare class PerpetualsClient {
4714
4750
  counter: BN;
4715
4751
  tokenStakeAccount: PublicKey;
4716
4752
  burnt: boolean;
4753
+ isSwapFeeExempt: boolean;
4754
+ isDepositFeeExempt: boolean;
4755
+ isWithdrawalFeeExempt: boolean;
4717
4756
  }>[]>;
4718
4757
  getAccountDiscriminator: (name: string) => Buffer;
4719
4758
  log: (...message: string[]) => void;
@@ -4791,7 +4830,7 @@ export declare class PerpetualsClient {
4791
4830
  profitUsd: BN;
4792
4831
  lossUsd: BN;
4793
4832
  };
4794
- getSwapAmountAndFeesSync: (amountIn: BN, amountOut: BN, poolAccount: PoolAccount, inputTokenPrice: OraclePrice, inputTokenEmaPrice: OraclePrice, inputTokenCustodyAccount: CustodyAccount, outputTokenPrice: OraclePrice, outputTokenEmaPrice: OraclePrice, outputTokenCustodyAccount: CustodyAccount, poolAumUsdMax: BN, poolConfig: PoolConfig) => {
4833
+ getSwapAmountAndFeesSync: (amountIn: BN, amountOut: BN, poolAccount: PoolAccount, inputTokenPrice: OraclePrice, inputTokenEmaPrice: OraclePrice, inputTokenCustodyAccount: CustodyAccount, outputTokenPrice: OraclePrice, outputTokenEmaPrice: OraclePrice, outputTokenCustodyAccount: CustodyAccount, poolAumUsdMax: BN, poolConfig: PoolConfig, whitelistedUserAccount?: Whitelist | null) => {
4795
4834
  minAmountOut: BN;
4796
4835
  minAmountIn: BN;
4797
4836
  feeIn: BN;
@@ -4812,22 +4851,22 @@ export declare class PerpetualsClient {
4812
4851
  getUserClaimableRevenueAmount: (POOL_CONFIG: PoolConfig, userPublicKey: PublicKey, enableDebuglogs?: boolean) => Promise<BN>;
4813
4852
  getStakedLpTokenPrice: (poolKey: PublicKey, POOL_CONFIG: PoolConfig) => Promise<string>;
4814
4853
  getAssetsUnderManagement: (poolKey: PublicKey, POOL_CONFIG: PoolConfig) => Promise<string>;
4815
- getAddLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, depositCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean) => Promise<{
4854
+ getAddLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, depositCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean, whitelist?: PublicKey | undefined) => Promise<{
4816
4855
  amount: BN | undefined;
4817
4856
  fee: BN | undefined;
4818
4857
  error?: string;
4819
4858
  }>;
4820
- getRemoveLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, removeTokenCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean) => Promise<{
4859
+ getRemoveLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, removeTokenCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean, whitelist?: PublicKey) => Promise<{
4821
4860
  amount: BN;
4822
4861
  fee: BN;
4823
4862
  error?: string;
4824
4863
  }>;
4825
4864
  getCompoundingLPTokenPrice: (poolKey: PublicKey, POOL_CONFIG: PoolConfig) => Promise<string>;
4826
- getAddCompoundingLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, depositCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean) => Promise<{
4865
+ getAddCompoundingLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, depositCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean, whitelist?: PublicKey) => Promise<{
4827
4866
  amount: BN;
4828
4867
  fee: BN;
4829
4868
  }>;
4830
- getRemoveCompoundingLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, removeTokenCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean) => Promise<{
4869
+ getRemoveCompoundingLiquidityAmountAndFeeView: (amount: BN, poolKey: PublicKey, removeTokenCustodyKey: PublicKey, POOL_CONFIG: PoolConfig, userPublicKey?: PublicKey | undefined, enableBackupOracle?: boolean, whitelist?: PublicKey) => Promise<{
4831
4870
  amount: BN;
4832
4871
  fee: BN;
4833
4872
  }>;
@@ -4875,15 +4914,15 @@ export declare class PerpetualsClient {
4875
4914
  instructions: TransactionInstruction[];
4876
4915
  additionalSigners: Signer[];
4877
4916
  }>;
4878
- addLiquidity: (payTokenSymbol: string, tokenAmountIn: BN, minLpAmountOut: BN, poolConfig: PoolConfig, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any) => Promise<{
4917
+ addLiquidity: (payTokenSymbol: string, tokenAmountIn: BN, minLpAmountOut: BN, poolConfig: PoolConfig, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any, isWhitelistedUser?: boolean) => Promise<{
4879
4918
  instructions: TransactionInstruction[];
4880
4919
  additionalSigners: Signer[];
4881
4920
  }>;
4882
- addLiquidityAndStake: (inputSymbol: string, amountIn: BN, minLpAmountOut: BN, poolConfig: PoolConfig, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined) => Promise<{
4921
+ addLiquidityAndStake: (inputSymbol: string, amountIn: BN, minLpAmountOut: BN, poolConfig: PoolConfig, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined, isWhitelistedUser?: boolean) => Promise<{
4883
4922
  instructions: TransactionInstruction[];
4884
4923
  additionalSigners: Signer[];
4885
4924
  }>;
4886
- removeLiquidity: (recieveTokenSymbol: string, liquidityAmountIn: BN, minTokenAmountOut: BN, poolConfig: PoolConfig, closeLpATA?: boolean, createUserATA?: boolean, closeUsersWSOLATA?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined) => Promise<{
4925
+ removeLiquidity: (recieveTokenSymbol: string, liquidityAmountIn: BN, minTokenAmountOut: BN, poolConfig: PoolConfig, closeLpATA?: boolean, createUserATA?: boolean, closeUsersWSOLATA?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined, isWhitelistedUser?: boolean) => Promise<{
4887
4926
  instructions: TransactionInstruction[];
4888
4927
  additionalSigners: Signer[];
4889
4928
  }>;
@@ -4914,11 +4953,11 @@ export declare class PerpetualsClient {
4914
4953
  instructions: TransactionInstruction[];
4915
4954
  additionalSigners: Signer[];
4916
4955
  }>;
4917
- addCompoundingLiquidity: (amountIn: BN, minCompoundingAmountOut: BN, inTokenSymbol: string, rewardTokenMint: PublicKey, poolConfig: PoolConfig, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined, enableHeapSizeIx?: boolean, enableDebugLogs?: boolean) => Promise<{
4956
+ addCompoundingLiquidity: (amountIn: BN, minCompoundingAmountOut: BN, inTokenSymbol: string, rewardTokenMint: PublicKey, poolConfig: PoolConfig, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined, enableHeapSizeIx?: boolean, isWhitelistedUser?: boolean) => Promise<{
4918
4957
  instructions: TransactionInstruction[];
4919
4958
  additionalSigners: Signer[];
4920
4959
  }>;
4921
- removeCompoundingLiquidity: (compoundingAmountIn: BN, minAmountOut: BN, outTokenSymbol: string, rewardTokenMint: PublicKey, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined, enableHeapSizeIx?: boolean, enableDebugLogs?: boolean) => Promise<{
4960
+ removeCompoundingLiquidity: (compoundingAmountIn: BN, minAmountOut: BN, outTokenSymbol: string, rewardTokenMint: PublicKey, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any, userPublicKey?: PublicKey | undefined, enableHeapSizeIx?: boolean, isWhitelistedUser?: boolean) => Promise<{
4922
4961
  instructions: TransactionInstruction[];
4923
4962
  additionalSigners: Signer[];
4924
4963
  }>;
@@ -5015,7 +5054,7 @@ export declare class PerpetualsClient {
5015
5054
  signature: string;
5016
5055
  versionedTransaction: VersionedTransaction;
5017
5056
  }>;
5018
- swap: (userInputTokenSymbol: string, userOutputTokenSymbol: string, amountIn: BN, minAmountOut: BN, poolConfig: PoolConfig, useFeesPool?: boolean, createUserATA?: boolean, unWrapSol?: boolean, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any) => Promise<{
5057
+ swap: (userInputTokenSymbol: string, userOutputTokenSymbol: string, amountIn: BN, minAmountOut: BN, poolConfig: PoolConfig, useFeesPool?: boolean, createUserATA?: boolean, unWrapSol?: boolean, skipBalanceChecks?: boolean, ephemeralSignerPubkey?: any, isWhitelistedUser?: boolean) => Promise<{
5019
5058
  instructions: TransactionInstruction[];
5020
5059
  additionalSigners: Signer[];
5021
5060
  }>;
@@ -5115,4 +5154,12 @@ export declare class PerpetualsClient {
5115
5154
  instructions: TransactionInstruction[];
5116
5155
  additionalSigners: Signer[];
5117
5156
  }>;
5157
+ createWhitelist: (isSwapFeeExempt: boolean, isDepositFeeExempt: boolean, isWithdrawalFeeExempt: boolean, poolAddress: PublicKey, owner: PublicKey) => Promise<{
5158
+ instructions: TransactionInstruction[];
5159
+ additionalSigners: Signer[];
5160
+ }>;
5161
+ setWhitelistConfig: (isSwapFeeExempt: boolean, isDepositFeeExempt: boolean, isWithdrawalFeeExempt: boolean, poolAddress: PublicKey, owner: PublicKey) => Promise<{
5162
+ instructions: TransactionInstruction[];
5163
+ additionalSigners: Signer[];
5164
+ }>;
5118
5165
  }