[Cashtab] Airdrop Option - ignore airdrops below dust
Summary:
As per T2140:
Option to parse the recipient airdrop amounts and filter out drops which are below dust (5.5 XEC).
Test Plan:
Without ticking the 'ignore airdrops below min. payment dust' checkbox:
- calculate an airdrop with at least 1 sub-dust airdrop and ensure the 'At least one airdrop is below the...' alert is displayed
- calculate an airdrop with no sub-dust airdrops and ensure no such alert is displayed
Tick the 'ignore airdrops below min. payment dust' checkbox:
- calculate an airdrop with at least 1 sub-dust airdrop and ensure it is not in the payment output list of airdrops
- ensure this filtered payment output can be copied to clipboard
- ensure this filtered payment output can be sent to the Send screen, sent successfully and block explorer showing the correct outputs
- calculate an airdrop with no sub-dust airdrops and ensure no regression
Ensure no regression on routing from eToken Send screen to the airdrop screen.
Reviewers: bytesofman, #bitcoin_abc
Reviewed By: bytesofman, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D11257