This repository contains the queries necessary to reproduce the lists of UMA KPI Options airdrop recipients.
Any action listed below must occur before (or at) Etherum block number 11830000, which is Unix Timestamp 1612976449 (Feb-10-2021 05:00:49 PM UTC).
90 KPI Options go to:
- Any address that has voted in one of the Yearn, BadgerDAO, Sushi, Balancer or YAM snapshot.page spaces. These addresses are shown here.
60 KPI Options go to:
- Any address holding a balance of 10 or more UMA at Feb-10-2021 05:00:49 PM UTC. These addresses are shown here.
120 KPI Options go to:
- Any address that has voted in UMA governance.
- Any address that has minted an UMA synthetic token. These addresses are shown here.
You'll need to install nodejs v14 and yarn. Assuming that's done, run:
yarn
The GetAllTokenholders.js
query uses Google Big Query. To run this script, you will need to:
- Create a Google Cloud project.
- Navigate to
IAM & Admin
and then theService Accounts
dashboard. - Create a Service Account.
- Create a new key pair.
- Download your key as a JSON file and move it to an easy to find location locally.
- Create an environment variable by running
export GOOGLE_APPLICATION_CREDENTIALS=~/file_path_to_your_key
. - Run
printenv
to verify that the environment variable was correctly set.
To run the script, use:
node collectAddresses.js --url your.node.url.io