@magmaprotocol/magma-clmm-sdk 0.5.21 → 0.5.22
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 +5 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6994,8 +6994,6 @@ var SwapModule = class {
|
|
|
6994
6994
|
const { global_config_id } = getPackagerConfigs(this.sdk.sdkOptions.magma_config);
|
|
6995
6995
|
const tx = new Transaction8();
|
|
6996
6996
|
const typeArguments = [params.coinTypeA, params.coinTypeB];
|
|
6997
|
-
console.log("############ integrate.published_at", integrate.published_at, ClmmFetcherModule);
|
|
6998
|
-
console.log("####### global_config_id", global_config_id);
|
|
6999
6997
|
const args = [
|
|
7000
6998
|
tx.object(global_config_id),
|
|
7001
6999
|
tx.object(params.pool.poolAddress),
|
|
@@ -9240,11 +9238,11 @@ var GaugeModule = class {
|
|
|
9240
9238
|
res.push({
|
|
9241
9239
|
coin_type_a: coins[0],
|
|
9242
9240
|
coin_type_b: coins[1],
|
|
9243
|
-
liquidity: info.info.liquidity,
|
|
9244
|
-
tick_lower_index: asIntN(BigInt(info.info.tick_lower_index.bits)),
|
|
9245
|
-
tick_upper_index: asIntN(BigInt(info.info.tick_upper_index.bits)),
|
|
9246
|
-
pos_object_id: info.info.position_id,
|
|
9247
|
-
magma_distribution_staked: info.info.magma_distribution_staked,
|
|
9241
|
+
liquidity: info.info.fields.liquidity,
|
|
9242
|
+
tick_lower_index: asIntN(BigInt(info.info.fields.tick_lower_index.fields.bits)),
|
|
9243
|
+
tick_upper_index: asIntN(BigInt(info.info.fields.tick_upper_index.fields.bits)),
|
|
9244
|
+
pos_object_id: info.info.fields.position_id,
|
|
9245
|
+
magma_distribution_staked: info.info.fields.magma_distribution_staked,
|
|
9248
9246
|
pool: info.pool_id,
|
|
9249
9247
|
earned: info.earned,
|
|
9250
9248
|
name: info.name
|