@hawksightco/hawk-sdk 1.3.50 → 1.3.51
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 +4 -1
- package/package.json +1 -1
package/dist/src/hsToMeteora.js
CHANGED
|
@@ -2157,6 +2157,9 @@ class MeteoraDlmmClaimFee2Automation extends HawksightMeteoraAutomationCpi {
|
|
|
2157
2157
|
const userPda = this.userPda;
|
|
2158
2158
|
const authority = this.authority;
|
|
2159
2159
|
const hawksightAuthority = addresses_1.HS_AUTHORITY;
|
|
2160
|
+
const minBinId = this.ix.data.readInt32LE(8);
|
|
2161
|
+
const maxBinId = this.ix.data.readInt32LE(12);
|
|
2162
|
+
const remainingAccountsInfo = this.ix.data.subarray(16);
|
|
2160
2163
|
// Get token mints X and Y
|
|
2161
2164
|
const tokenXMint = this.ix.keys[7].pubkey;
|
|
2162
2165
|
const tokenYMint = this.ix.keys[8].pubkey;
|
|
@@ -2185,7 +2188,7 @@ class MeteoraDlmmClaimFee2Automation extends HawksightMeteoraAutomationCpi {
|
|
|
2185
2188
|
// Generate IX via extension contract
|
|
2186
2189
|
// @ts-ignore
|
|
2187
2190
|
const claimFeeIx = yield anchor_1.Anchor.instance().iyfExtension.methods
|
|
2188
|
-
.meteoraDlmmClaimFee2Automation()
|
|
2191
|
+
.meteoraDlmmClaimFee2Automation(minBinId, maxBinId, remainingAccountsInfo)
|
|
2189
2192
|
.accounts({
|
|
2190
2193
|
userPda,
|
|
2191
2194
|
authority,
|