Skip to content

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

@pimato

Description

@pimato

Describe the task that needs to be done
This is another issue (like #2228 , #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

  • Airdrop Modal is showing the alert banner even if user has a tiny amount of DAI in the Omen Account.
  • Omen Membership Modal is showing the alert banner even if user has a tiny amount of DAI in the Omen Account.
  • Claim Modal is showing the alert banner even if user has a tiny amount of DAI in the Omen Account.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions