arbret/frontend/app/exchange
counterweight d317939ad0
Step 5: Update exchange price endpoint to use new pricing config
- Update ExchangeConfigResponse schema with direction-specific fields
- Remove premium_percentage from PriceResponse (now in config)
- Update price endpoint to load pricing config from database
- Update frontend to use direction-specific min/max and calculate premium
- Update tests to seed pricing config
- Add logic to clamp amount when direction changes
2025-12-26 20:20:23 +01:00
..
components Step 5: Update exchange price endpoint to use new pricing config 2025-12-26 20:20:23 +01:00
hooks Refactor API layer into structured domain-specific modules 2025-12-25 20:32:11 +01:00
page.tsx Step 5: Update exchange price endpoint to use new pricing config 2025-12-26 20:20:23 +01:00