fix(mining-admin-web): display theoretical network contribution instead of effective

Changed "全网算力" card to show theoretical total (totalTrees * 22617) instead
of effective contribution. Added effective contribution to subValue for reference.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-15 02:04:08 -08:00
parent cfbf1b21f3
commit 420dfbfd9f
1 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,9 @@ export function StatsCards() {
trendUp: isPriceUp,
},
{
title: '全网算力',
value: formatCompactNumber(stats?.networkEffectiveContribution),
subValue: `层级待解锁: ${formatCompactNumber(stats?.networkLevelPending)} | 团队待解锁: ${formatCompactNumber(stats?.networkBonusPending)}`,
title: '全网理论算力',
value: formatCompactNumber(stats?.detailedContribution?.networkTotalTheory),
subValue: `有效算力: ${formatCompactNumber(stats?.networkEffectiveContribution)} | 层级待解锁: ${formatCompactNumber(stats?.networkLevelPending)} | 团队待解锁: ${formatCompactNumber(stats?.networkBonusPending)}`,
icon: Activity,
iconColor: 'text-blue-500',
},