@meteora-ag/dlmm 1.5.1-test.1 → 1.5.1-test.2
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/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12993,9 +12993,14 @@ var DLMM = class {
|
|
|
12993
12993
|
position
|
|
12994
12994
|
}) {
|
|
12995
12995
|
const preInstructions = [];
|
|
12996
|
+
console.log(
|
|
12997
|
+
position.positionData.feeX.toString(),
|
|
12998
|
+
position.positionData.feeY.toString()
|
|
12999
|
+
);
|
|
12996
13000
|
if (!position.positionData.feeX.isZero() || !position.positionData.feeY.isZero()) {
|
|
12997
13001
|
const claimIx = await this.createClaimSwapFeeMethod({ owner, position });
|
|
12998
13002
|
preInstructions.push(...claimIx.instructions);
|
|
13003
|
+
console.log("\u{1F680} ~ DLMM ~ claimIx:", claimIx);
|
|
12999
13004
|
}
|
|
13000
13005
|
const closePositionIx = await this.program.methods.closePosition2().accounts({
|
|
13001
13006
|
rentReceiver: owner,
|