Skip to content

banteg/maker-chief

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

tally makerdao governance votes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages