This small helper tool allows you to fetch gauge votes from AURAs snapshot space and analyze which addresses voted for a subset of pre-defined choices.
A potential use-case is to find voters for a subset for gauges to airdrop rewards to (contratry to participating in voting incentive markets)
- Clone the repository.
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
- Install dependencies:
pip install -r requirements.txt
Define the proposal_id
and target_choices
in the config.py
file.
proposal_id
is the unique ID of the proposal to analyzetarget_choices
contains the list of choices to consider for analysis
To analyze a specific proposal and filter out votes based on specific choices, run:
python analyzer.py
Results will then be stored in the results
folder containing the proposal_id
as the run identifier.