-
-
Save banteg/b683b2a44e87913e9624ef6e2a2f0c9c to your computer and use it in GitHub Desktop.
import re | |
import csv | |
import requests | |
airdrops = { | |
"Uniswap": "https://raw.githubusercontent.com/banteg/uniswap-distribution/master/uniswap-distribution.csv", | |
"1inch": "https://gist.githubusercontent.com/banteg/12708815fb63239d9f28dec5df8641f9/raw/28a9dffe9d5681ef5f75b0ab6c39fe5ea0064712/1inch.csv", | |
"Tornado": "https://raw.githubusercontent.com/tornadocash/airdrop/master/airdrop.csv", | |
} | |
my_addrs = [addr.lower() for addr in re.findall(r"0x\w{40}", open("addrs.txt").read())] | |
for drop, url in airdrops.items(): | |
print(drop) | |
for addr, amount, *_ in csv.reader(requests.get(url).text.splitlines()): | |
if addr.lower() in my_addrs: | |
print(addr, amount) |
0x16C975d21c3E7bb2191d7E77Bc50c573AaF5EFC5
i don't think that's how it works
I thought I'd fill in the Ethereum address here
I thought I'd fill in the Ethereum address here
no harm in that
my address is not in the 1inch csv but I definitely claimed 1inch airdrop. If I tried to do it directly it wouldn't allow me to, but Zerion showed me that I had it claimable through InstaDapp and I was able to claim from inside of Zerion. So it must be tracking (your 1inch csv) that other address (InstaDapp).
Couldn't see where to make a PR for this, but here is the list for the upcoming Furucombo (COMBO) airdrop: https://docs.google.com/spreadsheets/d/113AiPrGJ-yp7g-Kdo_IofMWiftc7msEoBMmKNKxJ4fo/edit#gid=0
Some addresses are in there twice, since they took multiple eligible actions, so that still needs to be accounted for.
I published a website for this and all POAPs: https://earni.fi
0x16C975d21c3E7bb2191d7E77Bc50c573AaF5EFC5