Skip to content

Instantly share code, notes, and snippets.

contracts
├── ds-chief
│ ├── ds-roles
│ │ └── ds-auth
│ ├── ds-thing
│ │ ├── ds-auth
│ │ ├── ds-math
│ │ └── ds-note
│ └── ds-token
│ ├── ds-math
Org Repo File Contract Type
makerdao osm osm.sol OSM mcd
dapphub ds-test test.sol DSTest lib
dapphub ds-value value.sol DSValue lib
dapphub ds-thing thing.sol DSThing lib
dapphub ds-note note.sol DSNote lib
dapphub ds-math math.sol DSMath lib
dapphub ds-auth auth.sol DSAuthority lib
dapphub ds-auth auth.sol DSAuthEvents lib
dapphub ds-auth auth.sol DSAuth lib
type User {
address: Address
locks: [Lock]
frees: [Free]
votes: [Vote]
weight: Float
}
# Lock event
type Lock {
CDP=42
sig="ilks(uint256)(bytes32)"
MCD_ILK=$(seth call ${CDP_MANAGER?} $sig $(seth --to-word $CDP))
sig="getUrn(uint256)(bytes32)"
MCD_URN=$(seth call ${CDP_MANAGER?} $sig $(seth --to-word $CDP))
execute() {
bytes=$(seth calldata "${@:2}")
@desaperados
desaperados / addresses.json
Last active March 8, 2019 07:55
0.2.1-rc.1
{
"MULTICALL": "0xe613f68945f8b8471968f25e116f0e382da80c65",
"MCD_DEPLOY": "0x3652c2af10cbbdb753c3b46489db5226b73e6497",
"MCD_GOV": "0xfc2d8ebf0edc766feaf93554684eb1bba4bc14d2",
"MCD_GOV_GUARD": "0xc8b52e744a0a62b2603caf0a0031f845b7a157b4",
"MCD_ADM": "0xac68fda94c432144dfda527b0a32cefbff3fac09",
"VOTE_PROXY_FACTORY": "0x53733735487ab68a658f8b02b1853b782cddc38e",
"MCD_VAT": "0x67fd6c3575fc2dbe2cb596bd3bebc9edb5571fa1",
"MCD_JUG": "0x25a008bf942ce6d5b362f91ed7ae3e4104286a12",
"MCD_CAT": "0x35f3d8997ef261c7961bd7c07ddc390f5cf76bd3",
"chain_details": {
"ws_url": "ws://18.185.172.121:8571",
"rpc_url": "http://18.185.172.121:8571",
"id": "4204780611939604155",
"gas_limit": 9000000000000,
"coinbase": "0xec53f2e726bb9320c5bf57bbad3da8b163009567",
"accounts": [
{
"priv_key": "7f072e73d90c47c7cc76132e8fbd0b518be3c76e15c688e4011d98bf31289c4e",
"balance": 1e+23,
diff --git a/src/median.sol b/src/median.sol
index 4a62d92..9b7dba1 100644
--- a/src/median.sol
+++ b/src/median.sol
@@ -34,7 +34,8 @@ contract Median is DSAuth {
     // Authorized oracles, set by an auth
     mapping (address => bool) public orcl;

-    event LogPrice(uint128 val, uint48 age);

Maker Ecosystem Growth Foundation

The Maker Ecosystem Growth Foundation exists to protect the Maker ecosystem and the foundation team. The MEG Foundation board will safeguard the project culture, values and strategy as agreed to and documented by the whole team.

The MEG Foundation board is not involved in day to day operations or setting of direction but as a safeguard / sanity-check on spending from the development fund.

MEG Board mandate & balance of power

Board | Executive Team | Community

with import <nixpkgs> {};
with pkgs.python36Packages;
let
stdenv = pkgs.stdenv;
web3 = buildPythonPackage rec {
pname = "web3";
version = "3.16.4";
name = "${pname}-${version}";
Balances of 0x0000d8b4147eDa80Fec7122AE16DA2479Cbd7ffB
name ERC20 Adapter/Vat ink art
====================================================================
DAI 241.00 841.70
MKR 0.00
ETH 297.33 22.00 80.00 11,000.00
REP 100.00 1.80 0.00 0.00
Unsafe CDPs: