acemasterjb / shenanigans

Snapshot governance shenanigans investigatoor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🕵️ Governance Shenanigans

Investigating Snapshot spaces with questionable motives.

Status: WIP

Dependencies

Usage

$ python main.py --help
Usage: main.py [OPTIONS]

Options:
  -sid, --space_id TEXT      Subject Space Snapshot id
  -pid, --proposal_id TEXT   Subject Snapshot Proposal id
  -b, --blacklist JSON_LIST  Omit these spaces from the set of nonsense spaces.
                             e.g. '["aave.eth", "aavegotchi.eth"]'
  --help                     Show this message and exit.

e.g.

$ python main.py -sid uniswap -pid <PROPOSAL_ID> -b '['SOME_TEST_SPACE', 'TEST_SPACE_2']'

This produces:

The nonsense_daos.csv file contains metadata of Snapshot spaces that:

  1. have the same token as a given subject
  2. have the same/similar name as a given subject

The multiple *.csv files generated contain vote data of (up to) the last 150 proposals from daos listed in nonsense_daos.csv.

About

Snapshot governance shenanigans investigatoor

License:MIT License


Languages

Language:Python 100.0%