@scallop-io/sui-scallop-sdk 0.46.67 → 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(
@@ -3345,6 +3348,8 @@ var queryBorrowIncentivePools = async (query, borrowIncentiveCoinNames = [
3345
3348
  const borrowIncentivePoolPoints = {};
3346
3349
  const parsedBorrowIncentivePoolData = parseOriginBorrowIncentivePoolData(pool);
3347
3350
  const poolCoinType = (0, import_utils7.normalizeStructTag)(pool.pool_type.name);
3351
+ if (poolCoinType === NATIVE_USDC)
3352
+ continue;
3348
3353
  const poolCoinName = query.utils.parseCoinNameFromType(
3349
3354
  poolCoinType
3350
3355
  );