@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.mjs
CHANGED
|
@@ -1913,8 +1913,8 @@ function toWeightSpotBalanced(minBinId, maxBinId) {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
return distributions;
|
|
1915
1915
|
}
|
|
1916
|
-
var DEFAULT_MAX_WEIGHT =
|
|
1917
|
-
var DEFAULT_MIN_WEIGHT =
|
|
1916
|
+
var DEFAULT_MAX_WEIGHT = 2e12;
|
|
1917
|
+
var DEFAULT_MIN_WEIGHT = 2e11;
|
|
1918
1918
|
function toWeightCurve(minBinId, maxBinId, activeId) {
|
|
1919
1919
|
if (activeId < minBinId || activeId > maxBinId) {
|
|
1920
1920
|
throw new ClmmpoolsError("Invalid strategy params", "InvalidParams" /* InvalidParams */);
|
|
@@ -11235,7 +11235,7 @@ var AlmmModule = class {
|
|
|
11235
11235
|
return poolCoins;
|
|
11236
11236
|
}
|
|
11237
11237
|
buildPositionType() {
|
|
11238
|
-
return `${this._sdk.sdkOptions.almm_pool.package_id}::
|
|
11238
|
+
return `${this._sdk.sdkOptions.almm_pool.package_id}::almm_position::Position`;
|
|
11239
11239
|
}
|
|
11240
11240
|
async getPositionsLiquidityLimit(params) {
|
|
11241
11241
|
const out = [];
|