As per T2687, this diff adds a toggle to the airdrop screen for the distribution ratio.
It's the pro-rata by default, and switching to equal will ensure all recipients will receive the same airdrop amount based on the 'Total XEC Airdrop' figure.
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABCbc86cb45331a: [Cashtab] Equal airdrop distribution ratio option
npm test
npm start
test no regression to pro rata distribution
switch to equal ratio and test the recipient amounts are all equal and adds up to the 'Total XEC airdrop' amount
test ignore own address option in equal and prorata ratios
test ignore airdrops below min payment in equal and prorata ratios
test ignore etoken minter address in equal and prorata ratios
test ignore custom addresses in equal and prorata ratios
test with a 'Total XEC Airdrop' figure with a large decimal point (e.g. 100.333333333) and ensure each recipient amount is rounded to 2 decimal points
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable