weezi-voting-parser
v0.0.14
Published
Downloads
3
Readme
Weezi Voting Parser
Module for parsing votes in Aragon.
Features
- Can decrypt the byte code of the script being called
- Replaces known addresses with the names of contracts in the dao
- ✨Magic ✨
Installation
npm i weezi-voting-parser
Example
import WeeziVotingParser from 'weezi-voting-parser'
const weeziVotingParser = new WeeziVotingParser({ web3, votingAddress = '0x01..', installedApps = [{name:'kernel', app:'0x01..'}] })
weeziVotingParser.parse({ voteId: 2 }).then((res, err) => {
if (err) return console.log(err)
console.log(res)
}).catch(function (err) {
console.log(err);
});
License
MIT
Free Software, Hell Yeah!