protofire / omen-exchange

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

Add dust checker for Deposit Dai into Omen Account Alert message in Airdrop/Omen Membership/Claim modal #2230

Open pimato opened 2 years ago

pimato commented 2 years ago

Describe the task that needs to be done This is another issue (like https://github.com/protofire/omen-exchange/issues/2228 , https://github.com/protofire/omen-exchange/issues/2226) where we need the dust checker. Currently, we are not showing the Deposit Dai into Omen Account in order to do ACTION if the user has even a very tiny amount of DAI (0.00000000001 DAI).

Describe how you have considered doing it Use a dust function in order to ignore the tiny amount of DAI to show the alert banner in the Airdrop Modal, Omen Membership and Claim modal.

Describe how do you expect to test the task resolution