@scallop-io/sui-scallop-sdk 0.46.68 → 0.46.69

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
@@ -3018,6 +3018,9 @@ var getSpool = async (query, marketCoinName, indexer = false, marketPool, coinPr
3018
3018
  createdAt: spoolFields.created_at,
3019
3019
  lastUpdate: spoolFields.last_update
3020
3020
  });
3021
+ const underlyingCoinType = (0, import_utils5.parseStructTag)(parsedSpoolData.stakeType).typeParams;
3022
+ if (underlyingCoinType === NATIVE_USDC)
3023
+ return void 0;
3021
3024
  const marketCoinPrice = (coinPrices?.[coinName] ?? 0) * marketPool.conversionRate;
3022
3025
  const marketCoinDecimal = query.utils.getCoinDecimal(marketCoinName);
3023
3026
  const calculatedSpoolData = calculateSpoolData(