fix assets stats

This commit is contained in:
jejolare 2025-10-13 23:08:16 +07:00
parent 3261359703
commit 44bb3e2731

View file

@ -56,7 +56,8 @@ class StatsController {
);
const marketCap =
parseFloat(monthlyVolume) > MIN_VOLUME_THRESHOLD
parseFloat(monthlyVolume) > MIN_VOLUME_THRESHOLD ||
alwaysActiveTokens.includes(targetAsset.asset_id?.toLowerCase())
? currentSupply.mul(pair.rate || 0).toString()
: '0';
const currentTVL = marketCap;