@hawksightco/hawk-sdk 1.1.4-8.3 → 1.1.4-8.4.test
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
|
@@ -1491,7 +1491,7 @@ class AddLiquidityByStrategyPda extends HawksightMeteoraPdaCpi {
|
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Replaces Meteora CPI with Hawksight CPI that calls the target Meteora CPI.
|
|
1493
1493
|
*/
|
|
1494
|
-
|
|
1494
|
+
addHawksightCpi() {
|
|
1495
1495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1496
1496
|
// Common parameters
|
|
1497
1497
|
const farm = addresses_1.USDC_FARM;
|
|
@@ -1560,6 +1560,7 @@ class AddLiquidityByStrategyPda extends HawksightMeteoraPdaCpi {
|
|
|
1560
1560
|
depositIx.keys[18],
|
|
1561
1561
|
])
|
|
1562
1562
|
.instruction();
|
|
1563
|
+
console.log("ix AddLiquidityByStrategyPda", JSON.stringify(ix));
|
|
1563
1564
|
// Override the instruction
|
|
1564
1565
|
this.ix.programId = ix.programId;
|
|
1565
1566
|
this.ix.data = ix.data;
|
|
@@ -1592,7 +1593,7 @@ class AddLiquidityByStrategyOneSidePda extends HawksightMeteoraPdaCpi {
|
|
|
1592
1593
|
/**
|
|
1593
1594
|
* Replaces Meteora CPI with Hawksight CPI that calls the target Meteora CPI.
|
|
1594
1595
|
*/
|
|
1595
|
-
|
|
1596
|
+
addHawksightCpi() {
|
|
1596
1597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1597
1598
|
// Common parameters
|
|
1598
1599
|
const farm = addresses_1.USDC_FARM;
|