@hawksightco/hawk-sdk 1.3.104 → 1.3.106

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.
@@ -2454,10 +2454,7 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
2454
2454
  null, // userTokenYAmount (optional)
2455
2455
  activeId, maxActiveBinSlippage, strategyParametersMinBinId, strategyParametersMaxBinId, strategyParametersStrategyType, strategyParametersParameters, remainingAccountsInfo)
2456
2456
  .accounts({
2457
- farm: addresses_1.USDC_FARM,
2458
2457
  userPda,
2459
- authority,
2460
- iyfProgram,
2461
2458
  hawksightAuthority,
2462
2459
  position: this.ix.keys[0].pubkey,
2463
2460
  lbPair: this.ix.keys[1].pubkey,
@@ -2479,7 +2476,7 @@ class MeteoraDlmmDeposit2Automation extends HawksightMeteoraAutomationCpi {
2479
2476
  // Instruction via main hawksight contract
2480
2477
  // @ts-ignore
2481
2478
  const ix = yield anchor_1.Anchor.instance().iyfMain.methods
2482
- .iyfExtensionExecute(depositIx.data)
2479
+ .iyfExtensionExecuteV2(depositIx.data)
2483
2480
  .accounts({
2484
2481
  farm,
2485
2482
  userPda,
@@ -2554,10 +2551,7 @@ class MeteoraDlmmWithdraw2Automation extends HawksightMeteoraAutomationCpi {
2554
2551
  const withdrawIx = yield anchor_1.Anchor.instance().iyfExtension.methods
2555
2552
  .meteoraDlmmWithdraw2Automation(this.ix.data.subarray(8))
2556
2553
  .accounts({
2557
- farm,
2558
2554
  userPda,
2559
- authority,
2560
- iyfProgram,
2561
2555
  hawksightAuthority,
2562
2556
  position: this.ix.keys[0].pubkey,
2563
2557
  lbPair: this.ix.keys[1].pubkey,
@@ -2579,7 +2573,7 @@ class MeteoraDlmmWithdraw2Automation extends HawksightMeteoraAutomationCpi {
2579
2573
  // Instruction via main hawksight contract
2580
2574
  // @ts-ignore
2581
2575
  const ix = yield anchor_1.Anchor.instance().iyfMain.methods
2582
- .iyfExtensionExecute(withdrawIx.data)
2576
+ .iyfExtensionExecuteV2(withdrawIx.data)
2583
2577
  .accounts({
2584
2578
  farm,
2585
2579
  userPda,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.3.104",
3
+ "version": "1.3.106",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",