@hawksightco/hawk-sdk 1.3.263 → 1.3.265
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/package.json +1 -1
- package/dist/src/addresses.d.ts +0 -37
- package/dist/src/addresses.d.ts.map +0 -1
- package/dist/src/addresses.js +0 -84
- package/dist/src/anchor.d.ts +0 -22
- package/dist/src/anchor.d.ts.map +0 -1
- package/dist/src/anchor.js +0 -121
- package/dist/src/classes/AltStorage.d.ts +0 -29
- package/dist/src/classes/AltStorage.d.ts.map +0 -1
- package/dist/src/classes/AltStorage.js +0 -58
- package/dist/src/classes/Atomicity.d.ts +0 -34
- package/dist/src/classes/Atomicity.d.ts.map +0 -1
- package/dist/src/classes/Atomicity.js +0 -110
- package/dist/src/classes/Client.d.ts +0 -35
- package/dist/src/classes/Client.d.ts.map +0 -1
- package/dist/src/classes/Client.js +0 -66
- package/dist/src/classes/CombineTransactions.d.ts +0 -11
- package/dist/src/classes/CombineTransactions.d.ts.map +0 -1
- package/dist/src/classes/CombineTransactions.js +0 -58
- package/dist/src/classes/CreateTxMetadata.d.ts +0 -100
- package/dist/src/classes/CreateTxMetadata.d.ts.map +0 -1
- package/dist/src/classes/CreateTxMetadata.js +0 -415
- package/dist/src/classes/General.d.ts +0 -87
- package/dist/src/classes/General.d.ts.map +0 -1
- package/dist/src/classes/General.js +0 -176
- package/dist/src/classes/GeneralUtility.d.ts +0 -79
- package/dist/src/classes/GeneralUtility.d.ts.map +0 -1
- package/dist/src/classes/GeneralUtility.js +0 -121
- package/dist/src/classes/HawkAPI.d.ts +0 -122
- package/dist/src/classes/HawkAPI.d.ts.map +0 -1
- package/dist/src/classes/HawkAPI.js +0 -169
- package/dist/src/classes/Health.d.ts +0 -29
- package/dist/src/classes/Health.d.ts.map +0 -1
- package/dist/src/classes/Health.js +0 -48
- package/dist/src/classes/JupiterAlts.d.ts +0 -37
- package/dist/src/classes/JupiterAlts.d.ts.map +0 -1
- package/dist/src/classes/JupiterAlts.js +0 -114
- package/dist/src/classes/JupiterSwap.d.ts +0 -21
- package/dist/src/classes/JupiterSwap.d.ts.map +0 -1
- package/dist/src/classes/JupiterSwap.js +0 -40
- package/dist/src/classes/Logging.d.ts +0 -13
- package/dist/src/classes/Logging.d.ts.map +0 -1
- package/dist/src/classes/Logging.js +0 -50
- package/dist/src/classes/MultiTransaction.d.ts +0 -75
- package/dist/src/classes/MultiTransaction.d.ts.map +0 -1
- package/dist/src/classes/MultiTransaction.js +0 -296
- package/dist/src/classes/RaydiumSDK.d.ts +0 -67
- package/dist/src/classes/RaydiumSDK.d.ts.map +0 -1
- package/dist/src/classes/RaydiumSDK.js +0 -206
- package/dist/src/classes/Search.d.ts +0 -100
- package/dist/src/classes/Search.d.ts.map +0 -1
- package/dist/src/classes/Search.js +0 -216
- package/dist/src/classes/SimpleIxGenerator.d.ts +0 -57
- package/dist/src/classes/SimpleIxGenerator.d.ts.map +0 -1
- package/dist/src/classes/SimpleIxGenerator.js +0 -62
- package/dist/src/classes/SimplePdaGenerator.d.ts +0 -28
- package/dist/src/classes/SimplePdaGenerator.d.ts.map +0 -1
- package/dist/src/classes/SimplePdaGenerator.js +0 -33
- package/dist/src/classes/Transaction.d.ts +0 -229
- package/dist/src/classes/Transaction.d.ts.map +0 -1
- package/dist/src/classes/Transaction.js +0 -643
- package/dist/src/classes/Transaction2.d.ts +0 -107
- package/dist/src/classes/Transaction2.d.ts.map +0 -1
- package/dist/src/classes/Transaction2.js +0 -249
- package/dist/src/classes/Transaction3.d.ts +0 -165
- package/dist/src/classes/Transaction3.d.ts.map +0 -1
- package/dist/src/classes/Transaction3.js +0 -416
- package/dist/src/classes/TransactionBatchExecute.d.ts +0 -163
- package/dist/src/classes/TransactionBatchExecute.d.ts.map +0 -1
- package/dist/src/classes/TransactionBatchExecute.js +0 -466
- package/dist/src/classes/TransactionBatchExecute2.d.ts +0 -99
- package/dist/src/classes/TransactionBatchExecute2.d.ts.map +0 -1
- package/dist/src/classes/TransactionBatchExecute2.js +0 -357
- package/dist/src/classes/Transactions.d.ts +0 -586
- package/dist/src/classes/Transactions.d.ts.map +0 -1
- package/dist/src/classes/Transactions.js +0 -7656
- package/dist/src/classes/TxGenerator.d.ts +0 -350
- package/dist/src/classes/TxGenerator.d.ts.map +0 -1
- package/dist/src/classes/TxGenerator.js +0 -1957
- package/dist/src/classes/TxGeneratorAutomations.d.ts +0 -186
- package/dist/src/classes/TxGeneratorAutomations.d.ts.map +0 -1
- package/dist/src/classes/TxGeneratorAutomations.js +0 -897
- package/dist/src/classes/Util.d.ts +0 -87
- package/dist/src/classes/Util.d.ts.map +0 -1
- package/dist/src/classes/Util.js +0 -148
- package/dist/src/classes/account-cache/AccountCache.d.ts +0 -54
- package/dist/src/classes/account-cache/AccountCache.d.ts.map +0 -1
- package/dist/src/classes/account-cache/AccountCache.js +0 -143
- package/dist/src/classes/account-cache/MintCache.d.ts +0 -33
- package/dist/src/classes/account-cache/MintCache.d.ts.map +0 -1
- package/dist/src/classes/account-cache/MintCache.js +0 -47
- package/dist/src/classes/account-cache/TokenCache.d.ts +0 -33
- package/dist/src/classes/account-cache/TokenCache.d.ts.map +0 -1
- package/dist/src/classes/account-cache/TokenCache.js +0 -47
- package/dist/src/errors.d.ts +0 -13
- package/dist/src/errors.d.ts.map +0 -1
- package/dist/src/errors.js +0 -96
- package/dist/src/functions.d.ts +0 -514
- package/dist/src/functions.d.ts.map +0 -1
- package/dist/src/functions.js +0 -1636
- package/dist/src/hawksight.d.ts +0 -53
- package/dist/src/hawksight.d.ts.map +0 -1
- package/dist/src/hawksight.js +0 -328
- package/dist/src/hsToMeteora.d.ts +0 -31
- package/dist/src/hsToMeteora.d.ts.map +0 -1
- package/dist/src/hsToMeteora.js +0 -3175
- package/dist/src/idl/iyf-extension-idl.d.ts +0 -14583
- package/dist/src/idl/iyf-extension-idl.d.ts.map +0 -1
- package/dist/src/idl/iyf-extension-idl.js +0 -14578
- package/dist/src/idl/iyf-extension-wrapper.d.ts +0 -112
- package/dist/src/idl/iyf-extension-wrapper.d.ts.map +0 -1
- package/dist/src/idl/iyf-extension-wrapper.js +0 -2
- package/dist/src/idl/iyf-main-idl.d.ts +0 -11329
- package/dist/src/idl/iyf-main-idl.d.ts.map +0 -1
- package/dist/src/idl/iyf-main-idl.js +0 -11324
- package/dist/src/idl/iyf-main-wrapper.d.ts +0 -112
- package/dist/src/idl/iyf-main-wrapper.d.ts.map +0 -1
- package/dist/src/idl/iyf-main-wrapper.js +0 -2
- package/dist/src/idl/jupiter-idl.d.ts +0 -3063
- package/dist/src/idl/jupiter-idl.d.ts.map +0 -1
- package/dist/src/idl/jupiter-idl.js +0 -3061
- package/dist/src/idl/meteora-idl.d.ts +0 -7371
- package/dist/src/idl/meteora-idl.d.ts.map +0 -1
- package/dist/src/idl/meteora-idl.js +0 -7372
- package/dist/src/idl/orca-idl.d.ts +0 -3833
- package/dist/src/idl/orca-idl.d.ts.map +0 -1
- package/dist/src/idl/orca-idl.js +0 -3834
- package/dist/src/idl/raydium-idl.d.ts +0 -3054
- package/dist/src/idl/raydium-idl.d.ts.map +0 -1
- package/dist/src/idl/raydium-idl.js +0 -3055
- package/dist/src/index.d.ts +0 -9
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -31
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.d.ts +0 -126
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.d.ts.map +0 -1
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.js +0 -467
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts +0 -330
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts.map +0 -1
- package/dist/src/ixGenerator/IyfMainIxGenerator.js +0 -1239
- package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.d.ts +0 -685
- package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.d.ts.map +0 -1
- package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.js +0 -3005
- package/dist/src/ixGenerator/OrcaIxGenerator.d.ts +0 -119
- package/dist/src/ixGenerator/OrcaIxGenerator.d.ts.map +0 -1
- package/dist/src/ixGenerator/OrcaIxGenerator.js +0 -438
- package/dist/src/ixGenerator/RaydiumIxGenerator.d.ts +0 -99
- package/dist/src/ixGenerator/RaydiumIxGenerator.d.ts.map +0 -1
- package/dist/src/ixGenerator/RaydiumIxGenerator.js +0 -558
- package/dist/src/ixGenerator/UtilIxGenerator.d.ts +0 -20
- package/dist/src/ixGenerator/UtilIxGenerator.d.ts.map +0 -1
- package/dist/src/ixGenerator/UtilIxGenerator.js +0 -25
- package/dist/src/meteora/index.d.ts +0 -2
- package/dist/src/meteora/index.d.ts.map +0 -1
- package/dist/src/meteora/index.js +0 -17
- package/dist/src/meteora/liquidityStrategy.d.ts +0 -408
- package/dist/src/meteora/liquidityStrategy.d.ts.map +0 -1
- package/dist/src/meteora/liquidityStrategy.js +0 -1325
- package/dist/src/meteora.d.ts +0 -669
- package/dist/src/meteora.d.ts.map +0 -1
- package/dist/src/meteora.js +0 -1932
- package/dist/src/orca.d.ts +0 -57
- package/dist/src/orca.d.ts.map +0 -1
- package/dist/src/orca.js +0 -123
- package/dist/src/pdaGenerator/HawksightPdaGenerator.d.ts +0 -29
- package/dist/src/pdaGenerator/HawksightPdaGenerator.d.ts.map +0 -1
- package/dist/src/pdaGenerator/HawksightPdaGenerator.js +0 -75
- package/dist/src/pdaGenerator/MeteoraPdaGenerator.d.ts +0 -76
- package/dist/src/pdaGenerator/MeteoraPdaGenerator.d.ts.map +0 -1
- package/dist/src/pdaGenerator/MeteoraPdaGenerator.js +0 -166
- package/dist/src/pdaGenerator/OrcaPdaGenerator.d.ts +0 -23
- package/dist/src/pdaGenerator/OrcaPdaGenerator.d.ts.map +0 -1
- package/dist/src/pdaGenerator/OrcaPdaGenerator.js +0 -68
- package/dist/src/pdaGenerator/RaydiumPdaGenerator.d.ts +0 -49
- package/dist/src/pdaGenerator/RaydiumPdaGenerator.d.ts.map +0 -1
- package/dist/src/pdaGenerator/RaydiumPdaGenerator.js +0 -114
- package/dist/src/pdaGenerator/UtilPdaGenerator.d.ts +0 -8
- package/dist/src/pdaGenerator/UtilPdaGenerator.d.ts.map +0 -1
- package/dist/src/pdaGenerator/UtilPdaGenerator.js +0 -51
- package/dist/src/types.d.ts +0 -1100
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/types.js +0 -95
|
@@ -1,586 +0,0 @@
|
|
|
1
|
-
import * as web3 from '@solana/web3.js';
|
|
2
|
-
import BN from 'bn.js';
|
|
3
|
-
import { MeteoraClaim, MeteoraClaimAll, MeteoraClose, MeteoraCompound, MeteoraRedeposit, MeteoraRedeposit2, MeteoraCreatePositionAndDeposit, MeteoraCreatePositionAndDepositPda, MeteoraDeposit, MeteoraInitializeBinArrays, MeteoraWithdraw, Register, TxgenParams, InitializeStorageTokenAccount, MeteoraLimitCloseAutomation, MeteoraLimitCloseAutomation2, MeteoraLimitCloseV2Automation, OrcaOpenPosition, OrcaClosePosition, OrcaDeposit, OrcaWithdraw, OrcaSweepDust, OrcaClaimRewards, TransactionMetadataResponse, MeteoraRebalance2, ClaimTokensFromSTA, RaydiumClosePosition, OpenAutomationIx, RelativeOpenAutomationIx, RaydiumWithdrawAndClosePosition, MeteoraCreatePoolAndPosition, ClaimTokenFromPda, MeteoraInitializeLargePosition, MeteoraDepositLargerPosition, MeteoraWithdrawLargerPosition, MeteoraRebalanceForLargerPosition, LabeledInstruction, TransactionMetadataResponse2, MeteoraRebalanceHybridLiquidity, MeteoraRedepositHybridLiquidity, MeteoraDepositHybridToLargePosition, MeteoraCreatePositionAndDepositHybridToLargePosition, SaberWithdrawAndClosePosition } from '../types';
|
|
4
|
-
import { RaydiumIncreaseLiquidity, RaydiumOpenPosition, RaydiumDecreaseLiquidity } from '../types';
|
|
5
|
-
import { GeneralUtility } from './GeneralUtility';
|
|
6
|
-
import { MultiTransaction } from './MultiTransaction';
|
|
7
|
-
import { SimpleIxGenerator } from './SimpleIxGenerator';
|
|
8
|
-
import { type TransferFeeConfig } from '@solana/spl-token';
|
|
9
|
-
export declare const MAX_INIT_BIN_ARRAYS_PER_TRANSACTION = 4;
|
|
10
|
-
export declare const MAX_LIMIT_CLOSE_INIT_BIN_ARRAYS = 2;
|
|
11
|
-
export declare const MAX_INIT_EXTEND_INSTRUCTIONS_PER_TRANSACTION = 10;
|
|
12
|
-
export declare const MAX_LIMIT_CLOSE_BINS_PER_WITHDRAW_CHUNK = 125;
|
|
13
|
-
export declare const MAX_RELATIVE_OPEN_INIT_WIDTH = 70;
|
|
14
|
-
export declare const MAX_RELATIVE_OPEN_EXTEND_LENGTH = 91;
|
|
15
|
-
export declare const MAX_RELATIVE_OPEN_BINS_PER_INIT_TX = 910;
|
|
16
|
-
export declare const MAX_RELATIVE_OPEN_TOTAL_BINS = 1400;
|
|
17
|
-
export declare const MAX_RELATIVE_OPEN_SMALL_DEPOSIT_WIDTH = 69;
|
|
18
|
-
export declare const MAX_RELATIVE_OPEN_BINS_PER_DEPOSIT_CHUNK = 45;
|
|
19
|
-
export declare const RELATIVE_OPEN_DEPOSIT_CHUNKS_PER_TRANSACTION = 3;
|
|
20
|
-
export declare function buildRelativeOpenLargePositionInitPlan(width: number): {
|
|
21
|
-
initWidth: number;
|
|
22
|
-
extensionChunks: number[][];
|
|
23
|
-
};
|
|
24
|
-
export declare function buildRelativeOpenLargePositionDepositChunkRanges(lowerBinId: number, upperBinId: number): {
|
|
25
|
-
lowerBinId: number;
|
|
26
|
-
upperBinId: number;
|
|
27
|
-
}[];
|
|
28
|
-
export declare function buildLimitCloseWithdrawChunkRanges(lowerBinId: number, upperBinId: number): {
|
|
29
|
-
lowerBinId: number;
|
|
30
|
-
upperBinId: number;
|
|
31
|
-
}[];
|
|
32
|
-
export declare function buildLimitCloseActiveBinGuard(minBinId: number, maxBinId: number): {
|
|
33
|
-
activeId: number;
|
|
34
|
-
maxActiveBinSlippage: number;
|
|
35
|
-
};
|
|
36
|
-
export declare function getHybridChunkOffsets(positionLowerBinId: number, chunkLowerBinId: number, chunkUpperBinId: number): {
|
|
37
|
-
chunkLowerOffset: number;
|
|
38
|
-
chunkUpperOffset: number;
|
|
39
|
-
};
|
|
40
|
-
export declare function getMeteoraCompoundRouteByWidth(width: number): 'regular' | 'hybrid_add' | 'legacy_large';
|
|
41
|
-
export declare function getMeteoraCompoundPostClaimAmount(claimableFee: BN, hawkFeeBps: BN, feeBpsDenominator: BN, transferFeeConfig: TransferFeeConfig | null, epoch: bigint): BN;
|
|
42
|
-
export declare function batchHybridChunkInstructionGroups(chunkInstructionGroups: LabeledInstruction[][], chunksPerTransaction?: number): LabeledInstruction[][];
|
|
43
|
-
export declare function batchLabeledInstructionGroups(instructions: LabeledInstruction[], instructionsPerTransaction: number): LabeledInstruction[][];
|
|
44
|
-
export declare function buildWideHybridRebuildInstructionGroups(initExtendIxs: LabeledInstruction[], fullRangeBinArrayInitIxs: LabeledInstruction[], chunkInstructionGroups: LabeledInstruction[][]): LabeledInstruction[][];
|
|
45
|
-
export declare function buildLimitCloseMainInstructions(initBinArrayIxs: web3.TransactionInstruction[], closeIx: web3.TransactionInstruction): web3.TransactionInstruction[];
|
|
46
|
-
export declare function stripComputeBudgetInstructions(instructions: web3.TransactionInstruction[]): web3.TransactionInstruction[];
|
|
47
|
-
export declare function getLastHybridAmountConsumerIndexes(entries: Array<{
|
|
48
|
-
amountX: BN;
|
|
49
|
-
amountY: BN;
|
|
50
|
-
}>): {
|
|
51
|
-
lastXIndex: number;
|
|
52
|
-
lastYIndex: number;
|
|
53
|
-
};
|
|
54
|
-
export declare function buildHybridDepositAmountParams({ userTokenXAmount, userTokenYAmount, omitXAmount, omitYAmount, }: {
|
|
55
|
-
userTokenXAmount: BN;
|
|
56
|
-
userTokenYAmount: BN;
|
|
57
|
-
omitXAmount?: boolean;
|
|
58
|
-
omitYAmount?: boolean;
|
|
59
|
-
}): {
|
|
60
|
-
userTokenXAmount?: BN;
|
|
61
|
-
userTokenYAmount?: BN;
|
|
62
|
-
};
|
|
63
|
-
export declare class Transactions {
|
|
64
|
-
/**
|
|
65
|
-
* Prohibit creating instance other than getInstance
|
|
66
|
-
*/
|
|
67
|
-
private constructor();
|
|
68
|
-
/**
|
|
69
|
-
* Singleton instance
|
|
70
|
-
*/
|
|
71
|
-
private static instance;
|
|
72
|
-
/**
|
|
73
|
-
* Simple IX Generator instance (overridable)
|
|
74
|
-
*/
|
|
75
|
-
ix: SimpleIxGenerator;
|
|
76
|
-
/**
|
|
77
|
-
* Orca PDA Generator instance
|
|
78
|
-
*/
|
|
79
|
-
private orcaPda;
|
|
80
|
-
/**
|
|
81
|
-
* Get singleton instance
|
|
82
|
-
*
|
|
83
|
-
* @returns
|
|
84
|
-
*/
|
|
85
|
-
static getInstance(): Transactions;
|
|
86
|
-
/**
|
|
87
|
-
* Generate UserPDA
|
|
88
|
-
*
|
|
89
|
-
* @param userWallet
|
|
90
|
-
* @param farm
|
|
91
|
-
* @returns
|
|
92
|
-
*/
|
|
93
|
-
generateUserPda(userWallet: web3.PublicKey, farm?: web3.PublicKey): web3.PublicKey;
|
|
94
|
-
/**
|
|
95
|
-
* Registers a new entity or user with the necessary parameters, handling transaction creation and response.
|
|
96
|
-
*
|
|
97
|
-
* @param connection A Solana web3 connection for interacting with the blockchain.
|
|
98
|
-
* @param payer The public key of the payer, responsible for transaction fees.
|
|
99
|
-
* @param params Registration parameters required by the API.
|
|
100
|
-
* @returns A Promise resolving to the transaction metadata or an error response, depending on the outcome of the registration.
|
|
101
|
-
*/
|
|
102
|
-
register({ connection, params, }: TxgenParams<Register>): Promise<TransactionMetadataResponse>;
|
|
103
|
-
/**
|
|
104
|
-
* Creates instructions to initialize storage token accounts
|
|
105
|
-
*
|
|
106
|
-
* @param connection A Solana web3 connection for interacting with the blockchain.
|
|
107
|
-
* @param params Parameters required.
|
|
108
|
-
* @returns A Promise resolving to the transaction metadata or an error response, depending on the outcome of the registration.
|
|
109
|
-
*/
|
|
110
|
-
initializeStorageTokenAccounts({ connection, params, }: TxgenParams<InitializeStorageTokenAccount>): Promise<TransactionMetadataResponse>;
|
|
111
|
-
/**
|
|
112
|
-
* Creates meteora instruction that creates new position and deposit.
|
|
113
|
-
*
|
|
114
|
-
* @deprecated Use meteoraCreatePositionAndDepositToLargePosition instead.
|
|
115
|
-
*
|
|
116
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
117
|
-
* @param payer The public key of the payer for transaction fees.
|
|
118
|
-
* @param params Parameters required
|
|
119
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
120
|
-
*/
|
|
121
|
-
meteoraCreatePositionAndDeposit({ connection, params, }: TxgenParams<MeteoraCreatePositionAndDeposit>): Promise<TransactionMetadataResponse>;
|
|
122
|
-
/**
|
|
123
|
-
* Creates meteora instruction that creates new position and deposit.
|
|
124
|
-
*
|
|
125
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
126
|
-
* @param payer The public key of the payer for transaction fees.
|
|
127
|
-
* @param params Parameters required
|
|
128
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
129
|
-
*/
|
|
130
|
-
meteoraCreatePositionAndDepositPda({ connection, params, }: TxgenParams<MeteoraCreatePositionAndDepositPda>): Promise<TransactionMetadataResponse>;
|
|
131
|
-
/**
|
|
132
|
-
* Creates meteora instruction that initializes bin arrays.
|
|
133
|
-
*
|
|
134
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
135
|
-
* @param payer The public key of the payer for transaction fees.
|
|
136
|
-
* @param params Parameters required
|
|
137
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
138
|
-
*/
|
|
139
|
-
meteoraInitializeBinArrays({ connection, params, }: TxgenParams<MeteoraInitializeBinArrays>): Promise<TransactionMetadataResponse>;
|
|
140
|
-
/**
|
|
141
|
-
* Creates meteora instruction that initializes bin arrays (via hawkfi program -- main iyf)
|
|
142
|
-
*
|
|
143
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
144
|
-
* @param payer The public key of the payer for transaction fees.
|
|
145
|
-
* @param params Parameters required
|
|
146
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
147
|
-
*/
|
|
148
|
-
meteoraInitializeBinArrays2({ connection, params, }: TxgenParams<MeteoraInitializeBinArrays>): Promise<TransactionMetadataResponse>;
|
|
149
|
-
meteoraCreatePoolAndPosition({ connection, params, }: TxgenParams<MeteoraCreatePoolAndPosition>): Promise<TransactionMetadataResponse>;
|
|
150
|
-
/**
|
|
151
|
-
* Creates meteora instruction that deposits to position.
|
|
152
|
-
*
|
|
153
|
-
* @deprecated Use meteoraDepositToLargePosition instead
|
|
154
|
-
*
|
|
155
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
156
|
-
* @param payer The public key of the payer for transaction fees.
|
|
157
|
-
* @param params Parameters required
|
|
158
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
159
|
-
*/
|
|
160
|
-
meteoraDeposit({ connection, params, }: TxgenParams<MeteoraDeposit>): Promise<TransactionMetadataResponse>;
|
|
161
|
-
/**
|
|
162
|
-
* Creates meteora instruction withdraws from a position.
|
|
163
|
-
*
|
|
164
|
-
* @deprecated Use meteoraWithdrawLargePosition instead
|
|
165
|
-
*
|
|
166
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
167
|
-
* @param payer The public key of the payer for transaction fees.
|
|
168
|
-
* @param params Parameters required
|
|
169
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
170
|
-
*/
|
|
171
|
-
meteoraWithdraw({ connection, params, }: TxgenParams<MeteoraWithdraw>): Promise<TransactionMetadataResponse>;
|
|
172
|
-
/**
|
|
173
|
-
* Creates meteora instruction withdraws from a position.
|
|
174
|
-
*
|
|
175
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
176
|
-
* @param payer The public key of the payer for transaction fees.
|
|
177
|
-
* @param params Parameters required
|
|
178
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
179
|
-
*/
|
|
180
|
-
meteoraWithdrawPda({ connection, params, }: TxgenParams<MeteoraWithdraw>): Promise<TransactionMetadataResponse>;
|
|
181
|
-
/**
|
|
182
|
-
* Withdraw liquidity from a large Meteora DLMM position (up to 1400 bins).
|
|
183
|
-
*
|
|
184
|
-
* - For ≤149 bins: delegates to meteoraWithdrawLargerPosition (single tx)
|
|
185
|
-
* - For ≥150 bins: resolves pool data once, chunks into ≤149-bin ranges,
|
|
186
|
-
* calls _buildWithdrawInstructions per chunk. Only the last chunk sets
|
|
187
|
-
* shouldClaimAndClose (if requested).
|
|
188
|
-
*
|
|
189
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
190
|
-
* @param params MeteoraWithdrawLargerPosition parameters
|
|
191
|
-
* @returns Array of TransactionMetadataResponse, one per chunk
|
|
192
|
-
*/
|
|
193
|
-
meteoraWithdrawLargePosition({ connection, params, }: {
|
|
194
|
-
connection: web3.Connection;
|
|
195
|
-
params: MeteoraWithdrawLargerPosition;
|
|
196
|
-
}): Promise<TransactionMetadataResponse[]>;
|
|
197
|
-
/**
|
|
198
|
-
* Resolves pool data needed for withdraw instructions.
|
|
199
|
-
* Call once, then pass the result to _buildWithdrawInstructions for each chunk.
|
|
200
|
-
*/
|
|
201
|
-
private _resolveWithdrawPoolData;
|
|
202
|
-
/**
|
|
203
|
-
* Builds withdraw instructions for a single bin range chunk.
|
|
204
|
-
* Requires pre-resolved pool data (from _resolveWithdrawPoolData).
|
|
205
|
-
*/
|
|
206
|
-
private _buildWithdrawInstructions;
|
|
207
|
-
/**
|
|
208
|
-
* Creates meteora instruction that claims fees and rewards.
|
|
209
|
-
*
|
|
210
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
211
|
-
* @param payer The public key of the payer for transaction fees.
|
|
212
|
-
* @param params Parameters required
|
|
213
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
214
|
-
*/
|
|
215
|
-
meteoraClaim({ connection, params, }: TxgenParams<MeteoraClaim>): Promise<TransactionMetadataResponse>;
|
|
216
|
-
/**
|
|
217
|
-
* Claim fees and rewards from a large Meteora DLMM position (up to 1400 bins).
|
|
218
|
-
*
|
|
219
|
-
* For ≤149 bins, delegates to the single-TX meteoraClaim.
|
|
220
|
-
* For ≥150 bins, chunks the bin range into ≤149-bin pieces and builds
|
|
221
|
-
* claimFee2 + claimReward2 per chunk, returning multiple TXs.
|
|
222
|
-
*
|
|
223
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
224
|
-
* @param params MeteoraClaim parameters (userWallet, position, fastGeneration)
|
|
225
|
-
* @returns Array of TransactionMetadataResponse, one per chunk
|
|
226
|
-
*/
|
|
227
|
-
meteoraClaimLargePosition({ connection, params, }: {
|
|
228
|
-
connection: web3.Connection;
|
|
229
|
-
params: MeteoraClaim;
|
|
230
|
-
}): Promise<TransactionMetadataResponse[]>;
|
|
231
|
-
/**
|
|
232
|
-
* Claim all meteora fees and rewards by list of pools owned by given user
|
|
233
|
-
*
|
|
234
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
235
|
-
* @param payer The public key of the payer for transaction fees.
|
|
236
|
-
* @param params Parameters required
|
|
237
|
-
* @returns Array of transaction instructions (simplified output)
|
|
238
|
-
*/
|
|
239
|
-
meteoraClaimAll({ connection, params }: TxgenParams<MeteoraClaimAll>, payer: web3.PublicKey, generalUtility: GeneralUtility): Promise<MultiTransaction>;
|
|
240
|
-
/**
|
|
241
|
-
* Creates meteora instruction that closes position.
|
|
242
|
-
*
|
|
243
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
244
|
-
* @param payer The public key of the payer for transaction fees.
|
|
245
|
-
* @param params Parameters required
|
|
246
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
247
|
-
*/
|
|
248
|
-
meteoraClosePosition({ connection, params, }: TxgenParams<MeteoraClose>): Promise<TransactionMetadataResponse>;
|
|
249
|
-
/**
|
|
250
|
-
* Claim token from STA. Fallbacks to ATA if STA is not yet initialized.
|
|
251
|
-
*
|
|
252
|
-
* Note: Subject to refactor. Dirty implementation.
|
|
253
|
-
*
|
|
254
|
-
* @returns
|
|
255
|
-
*/
|
|
256
|
-
claimTokenFromSta({ connection, params, }: TxgenParams<ClaimTokenFromPda>): Promise<TransactionMetadataResponse>;
|
|
257
|
-
/**
|
|
258
|
-
* Claim token from ATA.
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
* @returns
|
|
262
|
-
*/
|
|
263
|
-
claimTokenFromAta({ connection, params, }: TxgenParams<ClaimTokenFromPda>): Promise<TransactionMetadataResponse>;
|
|
264
|
-
/**
|
|
265
|
-
* Claim tokens from STA.
|
|
266
|
-
*
|
|
267
|
-
* Note: Subject to refactor. Dirty implementation.
|
|
268
|
-
*
|
|
269
|
-
* @returns
|
|
270
|
-
*/
|
|
271
|
-
claimTokensFromSta({ connection, params, }: TxgenParams<ClaimTokensFromSTA>): Promise<TransactionMetadataResponse>;
|
|
272
|
-
/**
|
|
273
|
-
* @deprecated Use compoundFromLargePositionAutomationIx instead
|
|
274
|
-
*/
|
|
275
|
-
compoundAutomationIx({ connection, params, }: TxgenParams<MeteoraCompound>): Promise<TransactionMetadataResponse>;
|
|
276
|
-
redepositAutomationIx({ connection, params, }: TxgenParams<MeteoraRedeposit>): Promise<TransactionMetadataResponse>;
|
|
277
|
-
redepositAutomationIx2({ connection, params, }: TxgenParams<MeteoraRedeposit2>): Promise<TransactionMetadataResponse>;
|
|
278
|
-
/**
|
|
279
|
-
* @deprecated Use claimFromLargePositionAutomationIx instead
|
|
280
|
-
*
|
|
281
|
-
* @param param0
|
|
282
|
-
* @returns
|
|
283
|
-
*/
|
|
284
|
-
claimAutomationIx({ connection, params, }: TxgenParams<MeteoraCompound>): Promise<TransactionMetadataResponse>;
|
|
285
|
-
/**
|
|
286
|
-
* Claim fees and rewards from a large Meteora DLMM position (up to 1400 bins).
|
|
287
|
-
*
|
|
288
|
-
* For ≤149 bins, delegates to the single-TX claimAutomationIx.
|
|
289
|
-
* For ≥150 bins, chunks the bin range into ≤149-bin pieces and builds
|
|
290
|
-
* claimFee2Automation + claimReward2Automation per chunk, returning multiple TXs.
|
|
291
|
-
*
|
|
292
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
293
|
-
* @param params Parameters required for claim (MeteoraCompound: userWallet, position)
|
|
294
|
-
* @returns Array of TransactionMetadataResponse for each transaction
|
|
295
|
-
*/
|
|
296
|
-
claimFromLargePositionAutomationIx({ connection, params, }: TxgenParams<MeteoraCompound>): Promise<TransactionMetadataResponse[]>;
|
|
297
|
-
/**
|
|
298
|
-
* Compound (claim + re-deposit) fees and rewards from a Meteora DLMM position.
|
|
299
|
-
*
|
|
300
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
301
|
-
* @param params MeteoraCompound parameters (userWallet, position, distribution)
|
|
302
|
-
* @returns Array of TransactionMetadataResponse2 for each transaction
|
|
303
|
-
*/
|
|
304
|
-
compoundFromLargePositionAutomationIx({ connection, params, }: TxgenParams<MeteoraCompound>): Promise<TransactionMetadataResponse2[]>;
|
|
305
|
-
/**
|
|
306
|
-
*
|
|
307
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
308
|
-
* @param params Parameters required for rebalance
|
|
309
|
-
* @returns A ResponseWithStatus containing TransactionMetadataResponse.
|
|
310
|
-
*/
|
|
311
|
-
rebalanceAutomationIx2({ connection, params, }: TxgenParams<MeteoraRebalance2>): Promise<TransactionMetadataResponse>;
|
|
312
|
-
private rebalanceSmallPositionAutomation;
|
|
313
|
-
redepositForLargePositionAutomationIx({ connection, params, }: TxgenParams<MeteoraRedeposit>): Promise<TransactionMetadataResponse[]>;
|
|
314
|
-
/**
|
|
315
|
-
* Phased rebalance for Meteora DLMM positions (71-149 bins).
|
|
316
|
-
*
|
|
317
|
-
* Produces exactly 2 TXs:
|
|
318
|
-
* TX1: removeLiquidity + claimFee (with fee splitting) + claimRewards + closePosition
|
|
319
|
-
* TX2: initPosition + extendPosition + initBinArrays + deposit (rebalanceLiquidityAutomation)
|
|
320
|
-
*
|
|
321
|
-
* Uses rebalanceLiquidityAutomation for deposit (handles 149 bins reliably),
|
|
322
|
-
* unlike rebalanceSmallPositionAutomation which uses meteoraDlmmDepositRelativeAutomation.
|
|
323
|
-
* Separate withdraw/deposit TXs enable Jupiter swap injection by the caller.
|
|
324
|
-
*/
|
|
325
|
-
private rebalancePhasedPositionAutomation;
|
|
326
|
-
/**
|
|
327
|
-
* Rebalance a large Meteora DLMM position (up to 1400 bins) using automation instructions.
|
|
328
|
-
*
|
|
329
|
-
* For ≤70 bins, delegates to rebalanceSmallerPositionAutomation.
|
|
330
|
-
* For 71-149 bins, delegates to rebalancePhasedPositionAutomation.
|
|
331
|
-
* For ≥150 bins, uses a chunked multi-TX approach:
|
|
332
|
-
* Phase 1: Chunked withdraw from current position
|
|
333
|
-
* Phase 2: Initialize new large position
|
|
334
|
-
* Phase 3: Chunked deposit to new position
|
|
335
|
-
*
|
|
336
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
337
|
-
* @param params Parameters required for rebalance
|
|
338
|
-
* @returns Array of TransactionMetadataResponse for each transaction
|
|
339
|
-
*/
|
|
340
|
-
rebalanceLargePositionAutomation({ connection, params, }: TxgenParams<MeteoraRebalanceForLargerPosition>): Promise<TransactionMetadataResponse[]>;
|
|
341
|
-
/**
|
|
342
|
-
* Compute claimable fees for a position directly from on-chain account data.
|
|
343
|
-
* Avoids expensive getPositionsByUserAndLbPair by parsing raw buffers.
|
|
344
|
-
* Handles extended positions (>70 bins) by reading extended data after reserved bytes.
|
|
345
|
-
* Reference: data/tvl/src/meteoraFunctions.ts:getBatchedFees
|
|
346
|
-
*/
|
|
347
|
-
private _computeClaimableFees;
|
|
348
|
-
private _createCompoundDestinationIxs;
|
|
349
|
-
/**
|
|
350
|
-
* Build raw instruction arrays for depositing liquidity to a large Meteora DLMM position
|
|
351
|
-
* using rebalanceLiquidityAutomation (automation variant).
|
|
352
|
-
* Skips depositMultipleTokenV2 since tokens are already in ATA from the withdraw phase.
|
|
353
|
-
*/
|
|
354
|
-
private _meteoraDepositToLargePositionAutomation;
|
|
355
|
-
/**
|
|
356
|
-
* Build merged rebalance chunks that combine withdraw + init/extend + deposit
|
|
357
|
-
* into fewer transactions. Each TX handles ~75 bins of withdraw and deposit,
|
|
358
|
-
* significantly reducing the total number of transactions needed.
|
|
359
|
-
*
|
|
360
|
-
* Per-chunk instructions (in order):
|
|
361
|
-
* [First TX only] initializePositionRelativeAutomation (≤70 bins)
|
|
362
|
-
* [If position not yet covers this chunk] increasePositionLengthAutomation (≤91 bins each)
|
|
363
|
-
* removeLiquidityByRange2Automation (≤75 bins from old position)
|
|
364
|
-
* claimFee2Automation (≤75 bins from old position)
|
|
365
|
-
* claimReward2Automation × N (≤75 bins from old position, per active reward)
|
|
366
|
-
* [Last old chunk only] closePosition2Automation
|
|
367
|
-
* meteoraDlmmInitializeBinArrayDefault (≤75 bins for new position)
|
|
368
|
-
* rebalanceLiquidityAutomation (≤75 bins deposit to new position)
|
|
369
|
-
*/
|
|
370
|
-
private _buildMergedRebalanceChunks;
|
|
371
|
-
openAutomationIx({ connection, params, }: TxgenParams<OpenAutomationIx>): Promise<TransactionMetadataResponse>;
|
|
372
|
-
relativeOpenLargePositionAutomationIxs({ connection, params, }: TxgenParams<RelativeOpenAutomationIx>): Promise<TransactionMetadataResponse2[]>;
|
|
373
|
-
relativeOpenAutomationIx({ connection, params, }: TxgenParams<RelativeOpenAutomationIx>): Promise<TransactionMetadataResponse>;
|
|
374
|
-
closeAutomationIx({ connection, params }: TxgenParams<MeteoraClose>): Promise<TransactionMetadataResponse>;
|
|
375
|
-
limitCloseAutomationIx({ connection, params, }: TxgenParams<MeteoraLimitCloseAutomation>): Promise<TransactionMetadataResponse>;
|
|
376
|
-
limitCloseAutomationIx2({ connection, params, }: TxgenParams<MeteoraLimitCloseAutomation2>): Promise<TransactionMetadataResponse>;
|
|
377
|
-
limitCloseV2AutomationIxs({ connection, params, }: TxgenParams<MeteoraLimitCloseV2Automation>): Promise<TransactionMetadataResponse2[]>;
|
|
378
|
-
private removeLiquidityByRangeInfo;
|
|
379
|
-
private removeLiquidityByRange2Info;
|
|
380
|
-
/**
|
|
381
|
-
* Creates a large position with more than 69 bins.
|
|
382
|
-
* Splits into multiple transactions if needed (max 1344 bins per tx, max 1400 bins total).
|
|
383
|
-
*
|
|
384
|
-
* @param connection - Solana connection
|
|
385
|
-
* @param params - Parameters containing userWallet, lbPair, position, lowerBinId, upperBinId
|
|
386
|
-
* @returns Array of TransactionMetadataResponse (one per transaction)
|
|
387
|
-
*/
|
|
388
|
-
/**
|
|
389
|
-
* Build raw instruction arrays for initializing a large Meteora DLMM position.
|
|
390
|
-
* Returns a 2D array where each inner array is one transaction's worth of instructions.
|
|
391
|
-
*/
|
|
392
|
-
private _meteoraInitializeLargePosition;
|
|
393
|
-
meteoraInitializeLargePosition({ connection, params, }: TxgenParams<MeteoraInitializeLargePosition>): Promise<TransactionMetadataResponse2[]>;
|
|
394
|
-
/**
|
|
395
|
-
* Build raw instruction arrays for depositing liquidity to a large Meteora DLMM position.
|
|
396
|
-
* Returns a 2D array where each inner array is one transaction's worth of instructions.
|
|
397
|
-
*/
|
|
398
|
-
private _meteoraDepositToLargePosition;
|
|
399
|
-
/**
|
|
400
|
-
* Deposit liquidity to a large Meteora DLMM position using rebalanceLiquidity.
|
|
401
|
-
* Splits the deposit into multiple transactions (one per chunk of bins)
|
|
402
|
-
* to stay within Solana's account limit per transaction.
|
|
403
|
-
*
|
|
404
|
-
* @param connection - Solana connection
|
|
405
|
-
* @param params - MeteoraDepositToLargePosition parameters
|
|
406
|
-
* @returns Array of TransactionMetadataResponse, one per chunk
|
|
407
|
-
*/
|
|
408
|
-
meteoraDepositToLargePosition({ connection, params, }: TxgenParams<MeteoraDeposit>): Promise<TransactionMetadataResponse2[]>;
|
|
409
|
-
/**
|
|
410
|
-
* Create a position and deposit liquidity for any bin count.
|
|
411
|
-
*
|
|
412
|
-
* - For ≤70 bins: delegates to meteoraDepositLargerPosition (single tx with position init)
|
|
413
|
-
* - For ≥70 bins: uses _meteoraInitializeLargePosition + _meteoraDepositToLargePosition (multi-tx)
|
|
414
|
-
* When init produces 2 TXs (>1344 bins), the 2nd init TX is merged into the 1st deposit TX.
|
|
415
|
-
*/
|
|
416
|
-
meteoraCreatePositionAndDepositToLargePosition({ connection, params, }: {
|
|
417
|
-
connection: web3.Connection;
|
|
418
|
-
params: MeteoraCreatePositionAndDeposit;
|
|
419
|
-
}): Promise<TransactionMetadataResponse2[]>;
|
|
420
|
-
private _meteoraDepositHybridToLargePosition;
|
|
421
|
-
meteoraDepositHybridToLargePosition({ connection, params, }: {
|
|
422
|
-
connection: web3.Connection;
|
|
423
|
-
params: MeteoraDepositHybridToLargePosition;
|
|
424
|
-
}): Promise<TransactionMetadataResponse2[]>;
|
|
425
|
-
meteoraCreatePositionAndDepositHybridToLargePosition({ connection, params, }: {
|
|
426
|
-
connection: web3.Connection;
|
|
427
|
-
params: MeteoraCreatePositionAndDepositHybridToLargePosition;
|
|
428
|
-
}): Promise<TransactionMetadataResponse2[]>;
|
|
429
|
-
/**
|
|
430
|
-
* Deposit liquidity to a Meteora DLMM position (up to 128 bins) with optional position initialization.
|
|
431
|
-
*
|
|
432
|
-
* TODO: For deprecation. Need to move to the large position deposit flow
|
|
433
|
-
*
|
|
434
|
-
* This method combines:
|
|
435
|
-
* - Optionally initialize position (if initializePosition is true):
|
|
436
|
-
* - For <= 70 bins: uses initializePositionAndAddLiquidityByStrategy
|
|
437
|
-
* - For > 70 bins: uses initializePosition + increasePositionLength + addLiquidityByStrategy
|
|
438
|
-
* - Add liquidity using addLiquidityByStrategy
|
|
439
|
-
*
|
|
440
|
-
* Designed for automation compatibility - all operations in a single transaction.
|
|
441
|
-
* Note: Max 128 bins supported due to CU constraints with ATA-based deposits.
|
|
442
|
-
*
|
|
443
|
-
* @param connection - Solana connection
|
|
444
|
-
* @param params - MeteoraDepositLargerPosition parameters
|
|
445
|
-
* @returns Single TransactionMetadataResponse
|
|
446
|
-
*/
|
|
447
|
-
meteoraDepositLargerPosition({ connection, params, }: TxgenParams<MeteoraDepositLargerPosition>): Promise<TransactionMetadataResponse2>;
|
|
448
|
-
/**
|
|
449
|
-
* Creates orca instruction that opens new position
|
|
450
|
-
*
|
|
451
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
452
|
-
* @param payer The public key of the payer for transaction fees.
|
|
453
|
-
* @param params Parameters required
|
|
454
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
455
|
-
*/
|
|
456
|
-
orcaOpenPosition({ connection, params, }: TxgenParams<OrcaOpenPosition>): Promise<TransactionMetadataResponse>;
|
|
457
|
-
/**
|
|
458
|
-
* Creates orca instruction that closes position
|
|
459
|
-
*
|
|
460
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
461
|
-
* @param payer The public key of the payer for transaction fees.
|
|
462
|
-
* @param params Parameters required
|
|
463
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
464
|
-
*/
|
|
465
|
-
orcaClosePosition({ connection, params, }: TxgenParams<OrcaClosePosition>): Promise<TransactionMetadataResponse>;
|
|
466
|
-
/**
|
|
467
|
-
* Creates orca instruction that deposits to a position
|
|
468
|
-
*
|
|
469
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
470
|
-
* @param payer The public key of the payer for transaction fees.
|
|
471
|
-
* @param params Parameters required
|
|
472
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
473
|
-
*/
|
|
474
|
-
orcaDeposit({ connection, params, }: TxgenParams<OrcaDeposit>): Promise<TransactionMetadataResponse>;
|
|
475
|
-
/**
|
|
476
|
-
* Creates orca instruction that deposits to a position
|
|
477
|
-
*
|
|
478
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
479
|
-
* @param payer The public key of the payer for transaction fees.
|
|
480
|
-
* @param params Parameters required
|
|
481
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
482
|
-
*/
|
|
483
|
-
orcaDepositPda({ connection, params, }: TxgenParams<OrcaDeposit>): Promise<TransactionMetadataResponse>;
|
|
484
|
-
/**
|
|
485
|
-
* Creates orca instruction that sweeps dust into a position
|
|
486
|
-
*
|
|
487
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
488
|
-
* @param payer The public key of the payer for transaction fees.
|
|
489
|
-
* @param params Parameters required
|
|
490
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
491
|
-
*/
|
|
492
|
-
orcaSweepDust({ connection, params, }: TxgenParams<OrcaSweepDust>): Promise<TransactionMetadataResponse>;
|
|
493
|
-
/**
|
|
494
|
-
* Creates orca instruction that withdraws from a position
|
|
495
|
-
*
|
|
496
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
497
|
-
* @param payer The public key of the payer for transaction fees.
|
|
498
|
-
* @param params Parameters required
|
|
499
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
500
|
-
*/
|
|
501
|
-
orcaWithdraw({ connection, params, }: TxgenParams<OrcaWithdraw>): Promise<TransactionMetadataResponse>;
|
|
502
|
-
/**
|
|
503
|
-
* Creates orca instruction that withdraws from a position
|
|
504
|
-
*
|
|
505
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
506
|
-
* @param payer The public key of the payer for transaction fees.
|
|
507
|
-
* @param params Parameters required
|
|
508
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
509
|
-
*/
|
|
510
|
-
orcaWithdrawPda({ connection, params, }: TxgenParams<OrcaWithdraw>): Promise<TransactionMetadataResponse>;
|
|
511
|
-
/**
|
|
512
|
-
* Creates orca instruction that claims fees and rewards
|
|
513
|
-
*
|
|
514
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
515
|
-
* @param payer The public key of the payer for transaction fees.
|
|
516
|
-
* @param params Parameters required
|
|
517
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
518
|
-
*/
|
|
519
|
-
orcaClaimRewards({ connection, params, }: TxgenParams<OrcaClaimRewards>): Promise<TransactionMetadataResponse>;
|
|
520
|
-
/**
|
|
521
|
-
*
|
|
522
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
523
|
-
* @param payer The public key of the payer for transaction fees.
|
|
524
|
-
* @param params Parameters required
|
|
525
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
526
|
-
*/
|
|
527
|
-
raydiumOpenPosition({ connection, params, }: TxgenParams<RaydiumOpenPosition>): Promise<TransactionMetadataResponse>;
|
|
528
|
-
/**
|
|
529
|
-
* Creates raydium instruction that withdraws and closes a position
|
|
530
|
-
*
|
|
531
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
532
|
-
* @param payer The public key of the payer for transaction fees.
|
|
533
|
-
* @param params Parameters required
|
|
534
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
535
|
-
*/
|
|
536
|
-
raydiumWithdrawAndClosePosition({ connection, params, }: TxgenParams<RaydiumWithdrawAndClosePosition>): Promise<TransactionMetadataResponse>;
|
|
537
|
-
/**
|
|
538
|
-
*
|
|
539
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
540
|
-
* @param payer The public key of the payer for transaction fees.
|
|
541
|
-
* @param params Parameters required
|
|
542
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
543
|
-
*/
|
|
544
|
-
raydiumClosePosition({ connection, params, }: TxgenParams<RaydiumClosePosition>): Promise<TransactionMetadataResponse>;
|
|
545
|
-
/**
|
|
546
|
-
*
|
|
547
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
548
|
-
* @param payer The public key of the payer for transaction fees.
|
|
549
|
-
* @param params Parameters required
|
|
550
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
551
|
-
*/
|
|
552
|
-
raydiumIncreaseLiquidity({ connection, params, }: TxgenParams<RaydiumIncreaseLiquidity>): Promise<TransactionMetadataResponse>;
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
556
|
-
* @param payer The public key of the payer for transaction fees.
|
|
557
|
-
* @param params Parameters required
|
|
558
|
-
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
559
|
-
*/
|
|
560
|
-
raydiumDecreaseLiquidity({ connection, params, }: TxgenParams<RaydiumDecreaseLiquidity>): Promise<TransactionMetadataResponse>;
|
|
561
|
-
meteoraRebalanceHybridLiquidityV2Automation({ connection, params, }: TxgenParams<MeteoraRebalanceHybridLiquidity>): Promise<TransactionMetadataResponse2[]>;
|
|
562
|
-
meteoraRedepositHybridLiquidityV2Automation({ connection, params, }: TxgenParams<MeteoraRedepositHybridLiquidity>): Promise<TransactionMetadataResponse2[]>;
|
|
563
|
-
/**
|
|
564
|
-
* Compute the bin range to use for a dust sweep deposit.
|
|
565
|
-
*
|
|
566
|
-
* Rules:
|
|
567
|
-
* - Must stay within the position's bin range (preserves directional bias)
|
|
568
|
-
* - Total width must not exceed maxBins (default 70, Meteora's single-call limit)
|
|
569
|
-
* - When clamping, center within the position range
|
|
570
|
-
*/
|
|
571
|
-
private _calculateSweepBinRange;
|
|
572
|
-
/**
|
|
573
|
-
* Initialize bin arrays for a given bin range, skipping arrays that already exist.
|
|
574
|
-
* Explicitly checks account owners so generated init instructions only target missing arrays.
|
|
575
|
-
*/
|
|
576
|
-
private _initBinArraysForRange;
|
|
577
|
-
/**
|
|
578
|
-
* Fetches a DLMM position's on-chain state and resolves all associated context
|
|
579
|
-
* needed for downstream instructions: pool state, token mints/programs,
|
|
580
|
-
* transfer hook remaining accounts, and reward hook remaining accounts.
|
|
581
|
-
*/
|
|
582
|
-
private resolvePositionContext;
|
|
583
|
-
saberWithdrawAndClosePosition({ connection, params, }: TxgenParams<SaberWithdrawAndClosePosition>): Promise<TransactionMetadataResponse>;
|
|
584
|
-
}
|
|
585
|
-
export declare const txgen: Transactions;
|
|
586
|
-
//# sourceMappingURL=Transactions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../../../src/classes/Transactions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,MAAM,OAAO,CAAC;AAkBvB,OAAO,EACL,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,+BAA+B,EAC/B,kCAAkC,EAClC,cAAc,EACd,0BAA0B,EAC1B,eAAe,EACf,QAAQ,EACR,WAAW,EACX,6BAA6B,EAC7B,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,2BAA2B,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EAEpB,gBAAgB,EAChB,wBAAwB,EACxB,+BAA+B,EAC/B,4BAA4B,EAC5B,iBAAiB,EAEjB,8BAA8B,EAE9B,4BAA4B,EAC5B,6BAA6B,EAC7B,iCAAiC,EAGjC,kBAAkB,EAClB,4BAA4B,EAC5B,+BAA+B,EAC/B,+BAA+B,EAC/B,mCAAmC,EACnC,oDAAoD,EACpD,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AA8ClB,OAAO,EAEL,wBAAwB,EACxB,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,UAAU,CAAC;AAIlB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAML,KAAK,iBAAiB,EACvB,MAAM,mBAAmB,CAAC;AAO3B,eAAO,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