@magmaprotocol/magma-clmm-sdk 0.5.13 → 0.5.14

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 CHANGED
@@ -9281,7 +9281,7 @@ var GaugeModule = class {
9281
9281
  const tx = new import_transactions11.Transaction();
9282
9282
  const { integrate, simulationAccount } = this.sdk.sdkOptions;
9283
9283
  const { magma_token, voter_id } = getPackagerConfigs(this.sdk.sdkOptions.magma_config);
9284
- const typeArguments = [magma_token, poolCoinA, poolCoinB];
9284
+ const typeArguments = [poolCoinA, poolCoinB, magma_token];
9285
9285
  const args = [tx.object(voter_id), tx.object(gauger), tx.object(pool), tx.pure.address(userAddr), tx.object(CLOCK_ADDRESS)];
9286
9286
  tx.moveCall({
9287
9287
  target: `${integrate.published_at}::${Gauge}::user_staked_position_infos`,
@@ -9293,7 +9293,7 @@ var GaugeModule = class {
9293
9293
  sender: simulationAccount.address
9294
9294
  });
9295
9295
  if (simulateRes.error != null) {
9296
- throw new Error(`all_lock_summary error code: ${simulateRes.error ?? "unknown error"}`);
9296
+ throw new Error(`user_staked_position_infos error code: ${simulateRes.error ?? "unknown error"}`);
9297
9297
  }
9298
9298
  const res = [];
9299
9299
  simulateRes.events?.forEach((item) => {