@magmaprotocol/magma-clmm-sdk 0.5.100 → 0.5.102
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2133,8 +2133,8 @@ function toWeightSpotBalanced(minBinId, maxBinId) {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
return distributions;
|
|
2135
2135
|
}
|
|
2136
|
-
var DEFAULT_MAX_WEIGHT =
|
|
2137
|
-
var DEFAULT_MIN_WEIGHT =
|
|
2136
|
+
var DEFAULT_MAX_WEIGHT = 2e12;
|
|
2137
|
+
var DEFAULT_MIN_WEIGHT = 2e11;
|
|
2138
2138
|
function toWeightCurve(minBinId, maxBinId, activeId) {
|
|
2139
2139
|
if (activeId < minBinId || activeId > maxBinId) {
|
|
2140
2140
|
throw new ClmmpoolsError("Invalid strategy params", "InvalidParams" /* InvalidParams */);
|
|
@@ -11448,7 +11448,7 @@ var AlmmModule = class {
|
|
|
11448
11448
|
return poolCoins;
|
|
11449
11449
|
}
|
|
11450
11450
|
buildPositionType() {
|
|
11451
|
-
return `${this._sdk.sdkOptions.almm_pool.package_id}::
|
|
11451
|
+
return `${this._sdk.sdkOptions.almm_pool.package_id}::almm_position::Position`;
|
|
11452
11452
|
}
|
|
11453
11453
|
async getPositionsLiquidityLimit(params) {
|
|
11454
11454
|
const out = [];
|