This repository contains a Python script for monitoring MKR delegated to Aligned Delegates at MakerDAO.
- The script is not compatible with Python 3.12 due to the deprecation of certain datetime functions used in the code.
- Retrieves delegation logs from Etherscan.
- Allows querying of delegation data for specific dates or ranges.
- Option to export results to a CSV file.
- An Etherscan API Key is required.
- Python 3.x (versions prior to 3.12) and dependencies listed in
requirements.txt
.
Follow these steps to set up the project:
- Clone the repository:
git clone https://github.com/0xldr/delegate-tracking.git
- Navigate to the cloned directory:
cd delegate-tracking
- Install the required dependencies:
pip install -r requirements.txt
- Install the required dependencies from
requirements.txt
. - Run
delegate_tracking.py
and follow the on-screen prompts.
- General code clean up.
- Add support for GSL end dates.
- Automatically source participation data for votes.