@meteora-ag/dlmm 1.5.2-rc.2 → 1.5.2-rc.4

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 CHANGED
@@ -10796,7 +10796,6 @@ var DLMM = class {
10796
10796
  const positionsV2 = await program.account.positionV2.all([
10797
10797
  positionOwnerFilter(userPubKey)
10798
10798
  ]);
10799
- console.log("\u{1F680} ~ DLMM ~ positionsV2:", positionsV2);
10800
10799
  const positionWrappers = [
10801
10800
  ...positionsV2.map((p) => new PositionV2Wrapper(p.publicKey, p.account))
10802
10801
  ];
@@ -10956,7 +10955,6 @@ var DLMM = class {
10956
10955
  rewardMint1,
10957
10956
  positionBinArraysMapV2
10958
10957
  );
10959
- console.log("\u{1F680} ~ DLMM ~ positionData:", positionData);
10960
10958
  if (positionData) {
10961
10959
  positionsMap.set(lbPair.toBase58(), {
10962
10960
  publicKey: lbPair,
@@ -14799,6 +14797,10 @@ var DLMM = class {
14799
14797
  const lowerBinId = position.lowerBinId();
14800
14798
  const upperBinId = position.upperBinId();
14801
14799
  const posShares = position.liquidityShares();
14800
+ console.log(
14801
+ "\u{1F680} ~ DLMM ~ posShares:",
14802
+ posShares.map((s) => s.toString())
14803
+ );
14802
14804
  const lastUpdatedAt = position.lastUpdatedAt();
14803
14805
  const feeInfos = position.feeInfos();
14804
14806
  const totalClaimedFeeXAmount = position.totalClaimedFeeXAmount();
@@ -14829,6 +14831,7 @@ var DLMM = class {
14829
14831
  const posShare = posShares[idx];
14830
14832
  const posBinRewardInfo = positionRewardInfos[idx];
14831
14833
  if (bin.binId === 17629) {
14834
+ console.log("index", idx);
14832
14835
  console.log("supply", binSupply.toString());
14833
14836
  console.log("share", posShare.toString());
14834
14837
  }