bancorprotocol / webapp

Bancor Swap/Analytics webapp
https://app.bancor.network
MIT License
32 stars 45 forks source link

Withdraw enhancement #1423

Closed RanCohenn closed 3 years ago

RanCohenn commented 3 years ago

1169

github-actions[bot] commented 3 years ago

Visit the preview URL for this PR (updated for commit 6c12692):

https://bancor-v2-beta--pr1423-feature-withdraw-sli-2dp72e9e.web.app

(expires Thu, 13 May 2021 13:38:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

ashachaf commented 3 years ago

input range must be 0-100% we handle the case of input=0, image for other cases: IF input is >100,

  1. set error message: "Percentage can not exceed 100"
  2. disable the option to continue
  3. do not calculate the required vBNT image

if input = blank (delete the existing percentage) image

  1. do not calculate the required vBNT
  2. disable the option to continue