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 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.

Source Distribution

maker-chief-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

maker_chief-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file maker-chief-0.1.0.tar.gz.

File metadata

  • Download URL: maker-chief-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for maker-chief-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f10d45f76ddddaf95487464ff9d6a73f707c0badf597fef649a93cba3506bd1
MD5 8e1fd5a5190c7883c626bb02ee7a5a00
BLAKE2b-256 8088cd843997cc8e5f4b256a1a9ffe21569381d5da311b49c8faece064a9e1ab

See more details on using hashes here.

File details

Details for the file maker_chief-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: maker_chief-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for maker_chief-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e30b181d5acb787efb4776b1204256d84c13800a40201e7fa5a124b7269c6c0
MD5 75f7ce9c11231efd47015584838fbe17
BLAKE2b-256 545e3f8652f8d1eb40cd3b425d639bd2abca07ebae7be21242fec9a2963d731b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page