@meteora-ag/dlmm 1.6.0-rc.8 → 1.6.0-rc.9

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.mjs CHANGED
@@ -15107,10 +15107,14 @@ var DLMM = class {
15107
15107
  lowerBinArrayIndex.add(new BN21(1))
15108
15108
  );
15109
15109
  const binArraysCount = (await this.binArraysToBeCreate(lowerBinArrayIndex, upperBinArrayIndex)).length;
15110
+ const transactionCount = Math.ceil(
15111
+ (maxBinId - minBinId + 1) / DEFAULT_BIN_PER_POSITION.toNumber()
15112
+ );
15110
15113
  const binArrayCost = binArraysCount * BIN_ARRAY_FEE;
15111
15114
  return {
15112
15115
  binArraysCount,
15113
- binArrayCost
15116
+ binArrayCost,
15117
+ transactionCount
15114
15118
  };
15115
15119
  }
15116
15120
  /**