@meteora-ag/dlmm 1.0.39-rc.10 → 1.0.39-rc.11
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 +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9912,6 +9912,13 @@ var DLMM = class {
|
|
|
9912
9912
|
const binArray = binArrays[count];
|
|
9913
9913
|
if (binArray) {
|
|
9914
9914
|
const bins = binArray.account.bins;
|
|
9915
|
+
console.log(
|
|
9916
|
+
"\u{1F680} ~ DLMM ~ getLastPrice ~ bins:",
|
|
9917
|
+
bins.map(({ amountX, amountY }) => ({
|
|
9918
|
+
amountX: amountX.toString(),
|
|
9919
|
+
amountY: amountY.toString()
|
|
9920
|
+
}))
|
|
9921
|
+
);
|
|
9915
9922
|
if (bins[bins.length - 1].liquiditySupply.gt(new (0, _anchor.BN)(0))) {
|
|
9916
9923
|
count++;
|
|
9917
9924
|
} else {
|