Published
Edited
Jan 24, 2022
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
locks = maker.service('chief').getDetailedLockLogs()
Insert cell
frees = maker.service('chief').getDetailedFreeLogs()
Insert cell
votes = maker.service('chief').getVoteAddressLogs()
Insert cell
{
const votes = await maker.service('chief').getVoteAddressLogs();
return Array.from(new Set(votes.map(vote => vote.candidates).flat()));
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Maker = require("https://unpkg.com/@makerdao/dai@0.35.16")
Insert cell
governancePlugin = require("https://unpkg.com/@makerdao/dai-plugin-governance@0.11.0/umd/index.js")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more