Skip to main content

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

Metadata

Release files for maker-chief 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maker-chief 0.1.2
File Size Uploaded
maker-chief-0.1.2.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maker-chief 0.1.2
File Interpreter ABI Platform
maker_chief-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / maker-chief-0.1.2.tar.gz

Download URL maker-chief-0.1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
54fbc3a14f9d14b532440c2637b350300c098cf967c6f7463401a96652561a0c
BLAKE2b-256 checksum
How to use checksums
11fcb37e0533385e44a710d18d06c48bf9aada033ded4de4205d55821409d041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.12 CPython/3.7.3 Darwin/18.5.0

Release files / maker_chief-0.1.2-py3-none-any.whl

Download URL maker_chief-0.1.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
581df79c04ab4e656cd0c1adf9270e9c92ff83bd982bd4d5c757677df1066d19
BLAKE2b-256 checksum
How to use checksums
2738895c4e1579ff89916a99c22327731814f8511ab932d8461a9d0c2fafff0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.12 CPython/3.7.3 Darwin/18.5.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page