@meteora-ag/dlmm 1.5.0-sam.3 → 1.5.0-sam.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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9392,6 +9392,7 @@ function toWeightBidAsk(minBinId, maxBinId, activeId) {
|
|
|
9392
9392
|
function toAmountsBothSideByStrategy(activeId, binStep, minBinId, maxBinId, amountX, amountY, amountXInActiveBin, amountYInActiveBin, strategyType, mintX, mintY, clock) {
|
|
9393
9393
|
console.log("SDK", strategyType, activeId, minBinId, maxBinId);
|
|
9394
9394
|
const isSingleSideX = amountY.isZero();
|
|
9395
|
+
console.log("\u{1F680} ~ isSingleSideX:", isSingleSideX);
|
|
9395
9396
|
switch (strategyType) {
|
|
9396
9397
|
case 0 /* Spot */: {
|
|
9397
9398
|
console.log(activeId < minBinId || activeId > maxBinId);
|