Skip to main content

tally makerdao governance votes

Project description

maker-chief

tally makerdao governance votes

about

this tool fetches all etch and vote events from makerdao governance contract (see ds-chief), tallies the votes and breaks them down by proposal and voters.

it also tries to recover what proposals are doing assuming they are ds-spell executed on mom contract. functions like setFee can be additionally parsed to show more meaningful values.

the text output format is:

<n>. <proposal> <votes>
spell: <func> <desc> <args>
  <voter> <votes>

the currently active proposal (hat) is shown in green.

the json format is self-explanatory. note that the numbers are encoded as text to avoid rounding errors.

installation

install python 3.7 and a local ethereum node.

pip3 install maker-chief 

usage

run maker-chief or maker-chief --json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for maker-chief, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size maker_chief-0.1.2-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size maker-chief-0.1.2.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page