@hawksightco/hawk-sdk 1.3.33 → 1.3.34
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/src/hsToMeteora.js +3 -2
- package/package.json +1 -1
package/dist/src/hsToMeteora.js
CHANGED
|
@@ -2272,7 +2272,8 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
|
|
|
2272
2272
|
const strategyParametersMinBinId = data.subarray(24, 28).readInt32LE();
|
|
2273
2273
|
const strategyParametersMaxBinId = data.subarray(28, 32).readInt32LE();
|
|
2274
2274
|
const strategyParametersStrategyType = data[32];
|
|
2275
|
-
const strategyParametersParameters = Array.from(data.subarray(33));
|
|
2275
|
+
const strategyParametersParameters = Array.from(data.subarray(33, 97));
|
|
2276
|
+
const remainingAccountsInfo = this.ix.data.subarray(97);
|
|
2276
2277
|
const tokenXMintInfo = AccountCache_1.AccountCache.get(tokenXMint);
|
|
2277
2278
|
const tokenYMintInfo = AccountCache_1.AccountCache.get(tokenYMint);
|
|
2278
2279
|
console.log(`Cache lookup results:`, {
|
|
@@ -2302,7 +2303,7 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
|
|
|
2302
2303
|
const depositIx = yield anchor_1.Anchor.instance().iyfExtension.methods
|
|
2303
2304
|
.meteoraDlmmDeposit2Automation(null, // userTokenXAmount (optional)
|
|
2304
2305
|
null, // userTokenYAmount (optional)
|
|
2305
|
-
activeId, maxActiveBinSlippage, strategyParametersMinBinId, strategyParametersMaxBinId, strategyParametersStrategyType, strategyParametersParameters)
|
|
2306
|
+
activeId, maxActiveBinSlippage, strategyParametersMinBinId, strategyParametersMaxBinId, strategyParametersStrategyType, strategyParametersParameters, remainingAccountsInfo)
|
|
2306
2307
|
.accounts({
|
|
2307
2308
|
farm: addresses_1.USDC_FARM,
|
|
2308
2309
|
userPda,
|