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.

Source Distribution

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

Uploaded Source

Built Distribution

maker_chief-0.1.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maker-chief-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 54fbc3a14f9d14b532440c2637b350300c098cf967c6f7463401a96652561a0c
MD5 7ec84df3d14dee0aa0ab0f6d3e48cf54
BLAKE2b-256 11fcb37e0533385e44a710d18d06c48bf9aada033ded4de4205d55821409d041

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maker_chief-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 581df79c04ab4e656cd0c1adf9270e9c92ff83bd982bd4d5c757677df1066d19
MD5 c811870de1cb4d2c7bc3c8f7373f5901
BLAKE2b-256 2738895c4e1579ff89916a99c22327731814f8511ab932d8461a9d0c2fafff0e

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