HomePhabricator

[Cashtab] Airdrop Option - ignore eToken creator address

Description

[Cashtab] Airdrop Option - ignore eToken creator address

Summary:
As per T2141:
Option to exclude the eToken creator address (eToken minting address) from the list of airdrop recipients, which is useful for eToken projects where the creator still holds a significant portion of the circulating supply.

Dependencies: This diff needs to follow AFTER D11256 as it's leveraging the convertEcashtoEtokenAddr from D11256, hence no unit tests for convertEcashtoEtokenAddr are included here.

Test Plan:

  • execute a default airdrop calculation to ensure no regression
  • execute an airdrop calculation with the 'Ignore eToken minter address' option and ensure the minter is excluded from results and the pro rata airdrops are adjusted amongst the filtered recipients
  • ensure the resulting airdrop output is successfully routed to the Send screen and executed successfully onchain
  • ensure no regression routing from the eToken details screen to the airdrops screen
  • integration testing with once D11256, D11245 and D11257 lands

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11259

Details

Provenance
emackAuthored on Mar 25 2022, 04:12
emackPushed on Apr 6 2022, 03:27
Reviewer
Restricted Project
Differential Revision
D11259: [Cashtab] Airdrop Option - ignore eToken creator address
Parents
rABCb28ca29c09b4: [Cashtab] Airdrop Option - ignore airdrops below dust
Branches
Unknown
Tags
Unknown