Skip to content

Instantly share code, notes, and snippets.

View remkoning's full-sized avatar

Rem Koning remkoning

View GitHub Profile
@remkoning
remkoning / constitution.R
Created November 19, 2021 14:23
Code for Constitution DAO concentration of ownership graph
library(tidyverse)
# Download Constitution DAO by going to:
# https://juicebox.money/#/p/constitutiondao
# Then click on "Holders" and then in the modal click the little download
# button. It misses some transactions since balances will be inaccurate for
# users who unstaked and transferred their tokens. Given the numbers below,
# this seems like a very small problem.
# Assume a US 4000 = 1 ETH Rate.. which is close enough on 11/18/2021
cdao <- read_csv("~/Downloads/juicebox_project-36_holders.csv") %>%
mutate(