Skip to content

Remove USD price displays across wallet and bridge - #518

Merged
functor-flow merged 1 commit into
devfrom
agent/remove-usd-price
Jul 12, 2026
Merged

Remove USD price displays across wallet and bridge#518
functor-flow merged 1 commit into
devfrom
agent/remove-usd-price

Conversation

@renlabs-agent

@renlabs-agent renlabs-agent Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

We operate OTC now — the apps display TORUS amounts only, no fiat price anywhere.

  • Wallet: the TORUS⇄USD currency-swap input becomes a plain TORUS amount input (fraction buttons kept); the review dialog drops "Amount (USD)" / "Network Fee (USD)"; transaction history stops annotating amounts with USD; UsdPriceProvider, the conversion helpers, and the stored usdPrice tx metadata are deleted.
  • Bridge (fast): balance lines lose their USD parentheticals and the price query; test mock updated.
  • Shared UI: the APR ticker loses its USD PRICE segment and price fetch; TorusToUSD deleted; agent card sheds a dead usdValue prop.

Untouched on purpose: bridge-v2's chain gasPrice plumbing (execution parameter, not fiat display) and the portal's use-weekly-usd hook (portal routes are taken down).

Net −344 lines. Verified: typecheck/lint/test green on all four packages (353 bridge tests pass), and a local wallet run shows the APR bar without the price segment and the send form as a single TORUS input.

🤖 Generated with Claude Code

We operate OTC now, so the apps show TORUS amounts only:

- Wallet: the TORUS/USD currency-swap input becomes a plain TORUS
  amount input (fraction buttons kept); the review dialog loses its
  "Amount (USD)" / "Network Fee (USD)" rows; transaction history stops
  annotating amounts with USD; the UsdPriceProvider context, conversion
  helpers, and stored usdPrice tx metadata are deleted.
- Bridge: fast-bridge balance lines drop their USD parentheticals and
  the price query; the test mock follows.
- Shared UI: the APR ticker loses its USD PRICE segment and price
  fetch, TorusToUSD is deleted, and the agent card sheds its dead
  usdValue prop.

Chain gas prices (bridge-v2 withdraw plumbing) are untouched - those
are execution parameters, not fiat display.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@renlabs-agent
renlabs-agent Bot requested a review from a team as a code owner July 10, 2026 18:29
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
torus-bridge-v2 Ready Ready Preview, Comment Jul 10, 2026 6:30pm
torus-portal Ready Ready Preview, Comment Jul 10, 2026 6:30pm
torus-wallet Ready Ready Preview, Comment Jul 10, 2026 6:30pm

Request Review

@functor-flow
functor-flow merged commit 151446e into dev Jul 12, 2026
34 checks passed
@functor-flow
functor-flow deleted the agent/remove-usd-price branch July 12, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant