This repository contains queries that produce the tables of retroactive UNI token distributions.
The queries run in Google BigQuery against the
bigquery-public-data.crypto_ethereum
dataset.
Data for this dataset is extracted to Google BigQuery using blockchain-etl/ethereum-etl.
All queries have a cutoff timestamp of 2020-09-01 00:00:00+00 GMT. Total distribution is aimed at 150_000_000 UNI.
You can reproduce the results of this query by forking this repository and adding your own secrets to run in your own GCP account.
- Create a Google Cloud project here
- Find your Project ID in the Google Cloud console here
- Fork this repository
- Add the secret
GCP_PROJECT_IDunder Settings > Secrets containing your project ID from the GCP dashboard - Add the secret
GCP_SA_KEYunder Settings > Secrets containing the base64 encoded JSON key of a service account - Go to the actions tab of your fork
- Run the workflow (roughly ~7 minutes to complete)
- Inspect the resulting user_proxy table
You can verify that no proxy in defiaver_accounts.json had the airdrop by running:
npm installnode verify.js