@scallop-io/sui-scallop-sdk 0.46.66 → 0.46.68
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 +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/queries/borrowIncentiveQuery.ts +2 -0
- package/src/queries/coreQuery.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -2321,6 +2321,8 @@ var queryMarket = async (query, indexer = false) => {
|
|
|
2321
2321
|
}
|
|
2322
2322
|
for (const collateral of marketData?.collaterals ?? []) {
|
|
2323
2323
|
const coinType = normalizeStructTag3(collateral.type.name);
|
|
2324
|
+
if (coinType === NATIVE_USDC)
|
|
2325
|
+
continue;
|
|
2324
2326
|
const collateralCoinName = query.utils.parseCoinNameFromType(coinType);
|
|
2325
2327
|
const coinPrice = coinPrices[collateralCoinName] ?? 0;
|
|
2326
2328
|
if (!SUPPORT_COLLATERALS.includes(collateralCoinName)) {
|
|
@@ -3268,6 +3270,8 @@ var queryBorrowIncentivePools = async (query, borrowIncentiveCoinNames = [
|
|
|
3268
3270
|
const borrowIncentivePoolPoints = {};
|
|
3269
3271
|
const parsedBorrowIncentivePoolData = parseOriginBorrowIncentivePoolData(pool);
|
|
3270
3272
|
const poolCoinType = normalizeStructTag5(pool.pool_type.name);
|
|
3273
|
+
if (poolCoinType === NATIVE_USDC)
|
|
3274
|
+
continue;
|
|
3271
3275
|
const poolCoinName = query.utils.parseCoinNameFromType(
|
|
3272
3276
|
poolCoinType
|
|
3273
3277
|
);
|