protofire / omen-exchange

Omen exchange
https://omen.eth.link/
GNU Affero General Public License v3.0
65 stars 77 forks source link

Withdraw button should be disabled if Omen Account is not funded with any asset #2226

Open pimato opened 2 years ago

pimato commented 2 years ago

Describe the task that needs to be done It seems like the logic has been changed because in previous version we have not allowed the user to click on the withdraw button in the Your Connection - Modal. I expect that there is a very small dust of Asset in the Omen Account so the withdraw button is active, we need to have a function to set dust amounts which should be ignored.

Describe how you have considered doing it If the Omen Account is not funded with anything, the withdraw button should be disabled.

Describe how do you expect to test the task resolution