Skip to content

0xldr/delegate-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

959ce73 · May 9, 2024

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delegate Tracking

This repository contains a Python script for monitoring MKR delegated to Aligned Delegates at MakerDAO.

Important Note

  • The script is not compatible with Python 3.12 due to the deprecation of certain datetime functions used in the code.

Current Functionality

  • Retrieves delegation logs from Etherscan.
  • Allows querying of delegation data for specific dates or ranges.
  • Option to export results to a CSV file.

Requirements

  • An Etherscan API Key is required.
  • Python 3.x (versions prior to 3.12) and dependencies listed in requirements.txt.

Installation

Follow these steps to set up the project:

  1. Clone the repository:
    git clone https://github.com/0xldr/delegate-tracking.git
  2. Navigate to the cloned directory:
    cd delegate-tracking
  3. Install the required dependencies:
    pip install -r requirements.txt

Usage

  1. Install the required dependencies from requirements.txt.
  2. Run delegate_tracking.py and follow the on-screen prompts.

To Dos

  • General code clean up.
  • Add support for GSL end dates.
  • Automatically source participation data for votes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages