pancake-frontend
pancake-frontend copied to clipboard
refactor: Remove token name from prediction variables and use generic
PR-Codex overview
This PR updates the prediction feature to use tokens instead of BNB for calculations and display.
Detailed summary
- Replaced
BNB
withToken
in prediction calculations and display - Updated functions and components to reflect token changes
- Renamed variables and functions for clarity
The following files were skipped due to too many changes:
apps/web/src/state/predictions/cakeTransformers.ts
,apps/web/src/views/Predictions/components/History/BetResult.tsx
,apps/web/src/views/Predictions/components/History/AIPredictions/AIBetResult.tsx
,apps/web/src/__tests__/state/predictions/helpers.test.ts
,apps/web/src/views/Predictions/components/History/PnlTab/PnlTab.tsx
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}