File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 35
35
eligible_holders = data_df [data_df .Address .apply (lambda x : "qqqqqq" not in x )]
36
36
37
37
# Compute the total of token per address (not taking into account the number of NFT hold)
38
- # TMP FIX : Remove 0.0001 token per holder to avoid "insufficient funds" (due to Python's loss of precision)
39
- airdrop_per_holder = float (args .amount_airdrop ) / (eligible_holders .shape [0 ]) - 0.0001
38
+ # TMP FIX : Remove 0.0000001 token per holder to avoid "insufficient funds" (due to Python's loss of precision)
39
+ airdrop_per_holder = float (args .amount_airdrop ) / (eligible_holders .shape [0 ]) - 0.0000001
40
40
41
41
# Compute the weighted airdrop if set to true as an argument
42
42
if args .weighted :
43
- airdrop_per_NFT = float (args .amount_airdrop ) / (eligible_holders .Count .sum ()) - 0.0001
43
+ airdrop_per_NFT = float (args .amount_airdrop ) / (eligible_holders .Count .sum ()) - 0.0000001
44
44
eligible_holders ["Airdrop" ] = airdrop_per_NFT * data_df .Count
45
45
46
46
# Get the data message
You can’t perform that action at this time.
0 commit comments