Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
frontend/src/components/TransactionTracker.tsx defines its own private formatAmount(raw, decimals) at the bottom of the file, duplicating the canonical helper that already exists in lib/amount.ts / utils/amount.ts. This is a third copy of the same i128→display logic and can drift (e.g. its BigInt(10 ** decimals) differs from the 10n ** BigInt(decimals) form used elsewhere, which is fine for 7 but fragile).
Acceptance criteria
Files to touch
frontend/src/components/TransactionTracker.tsx
Out of scope
Telegram: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
frontend/src/components/TransactionTracker.tsxdefines its own privateformatAmount(raw, decimals)at the bottom of the file, duplicating the canonical helper that already exists inlib/amount.ts/utils/amount.ts. This is a third copy of the same i128→display logic and can drift (e.g. itsBigInt(10 ** decimals)differs from the10n ** BigInt(decimals)form used elsewhere, which is fine for 7 but fragile).Acceptance criteria
formatAmountfrom the shared amount util instead of the local copyformatAmountdefinitionFiles to touch
frontend/src/components/TransactionTracker.tsxOut of scope