This repo contains nodejs code to analyze the COMP balances of the top accruers of COMP liquidity mining rewards.
To run the code yourself:
- Clone the repo.
- Install dependencies (run
yarn install
). - Create a
.env
file in the root directory by copying.env.example
and populate the necessary environment variables (MAINNET_URL
andETHERSCAN_API_KEY
). - Run
yarn build && yarn start
to run the script. The output data will appear will be written in theoutput/
folder.
Note, node and yarn are prerequisites for usage of this repo.
Data on the top 100 liquidity mining accounts has been grabbed from Dune Analytics and written as a CSV to the ./input
folder.
Query: https://dune.xyz/queries/231275
You can find some summary statistics for this data on a Google sheet here.