You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(treasury): show fiat in R$ on the pt-BR locale (#274)
Every USD figure on the treasury page — total value KPI, allocation
bar, token holdings values, sponsorship TVL/yield — converts to BRL
on pt-br at one server-cached USD→BRL rate (open.er-api.com, 1h
unstable_cache; errors are not cached so a miss retries next request).
Token quantities never convert: a USDC position's USD value multiplies
by the rate like everything else — 1 USDC is not R$ 1.
If the rate fetch fails the page keeps US$ figures and each affected
card says so out loud (FiatFallbackNote) instead of silently showing
stale reais. EN is untouched.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments