soroswap / frontend

Soroswap.Finance Frontend Repo
https://soroswap.finance
MIT License
4 stars 9 forks source link

Fix decimals and insufficiente balance on swap #399

Closed abstract829 closed 3 months ago

abstract829 commented 3 months ago

This PR solves #388 and #389

User can not input more than the token decimals (or default 7)

Insufficient balance on XLM now is compared with the available balance instead of the full xlm balance

https://github.com/soroswap/frontend/assets/56497105/c502291f-9bbc-4a82-a57b-af657a1ca063

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:34pm
chopan123 commented 3 months ago

me sucedió esto: Peek 2024-04-24 09-36

El boton MAX me dejó de funcionar. Tengo la sospecha de q es porque el calculo del available balance dio más decimales q los permitidos

chopan123 commented 3 months ago

Cuando escribo los decimales funciona bien, al hacer cambio, el logo se quedó pegado, pero quizas eso es para otro issue. En cierto momento, el logo de XTAR deja de aparecer y dice XTAR LOGO