Skip to content

Instantly share code, notes, and snippets.

@desaperados
Last active June 6, 2019 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desaperados/32862762372048f8a6560060068189eb to your computer and use it in GitHub Desktop.
Save desaperados/32862762372048f8a6560060068189eb to your computer and use it in GitHub Desktop.
Storage
Cat - The Liqidator
-------------------------------------------------------
ward(usr: address): Auth [bool]
ilks(ilk: bytes32): Collateral Type [Ilk]
flip: - Flip auction contract [address]
chop: - Liquidation Penalty [ray]
lump: - Liquidation lot size [wad]
live: Access flag [uint]
vat: Vat [address]
vow: Vow [address]
Flapper - Surplus auctions
--------------------------------------------------------
ward(usr: address): Auth [bool]
bids(id: uint): Auction state [Bid]
bid: - Bid amount (MKR) [wad]
lot: - Lot amount (DAI) [wad]
guy: - High bidder [address]
tic: - Bid expiry [uint48]
end: - Auction end [uint48]
gal: - MKR recipient (Vow) [address]
vat: Vat [address]
gem: MKR token [address]
beg: Minimum bid increase [uint]
ttl: Max bid duration [uint48]
tau: Max auction duration [uint]
kicks: Total auction count [uint]
live: Access flag [uint]
Flipper - Collateral auctions
--------------------------------------------------------
ward(usr: address): Auth [bool]
bids(id: uint): Auction state [Bid]
bid: - Bid amount (DAI) [wad]
lot: - Lot amount (GEM) [wad]
guy: - High bidder [address]
tic: - Bid expiry [uint48]
end: - Auction end [uint48]
urn: - Gem surplus recipient [address]
gal: - Dai recipient (Vow) [address]
tab: - Debt to recover [uint48]
vat: Vat [address]
ilk: Ilk identifier [bytes32]
beg: Minimum bid increase [uint]
ttl: Max bid duration [uint48]
tau: Max auction duration [uint]
kicks: Total auction count [uint]
live: Access flag [uint]
Flopper - Defecit auctions
--------------------------------------------------------
ward(usr: address): Auth [bool]
bids(id: uint): Auction state [Bid]
bid: - Bid amount (DAI) [wad]
lot: - Lot amount (MKR) [wad]
guy: - High bidder [address]
tic: - Bid expiry [uint48]
end: - Auction end [uint48]
vow: - Dai recipient [address]
vat: Vat [address]
gem: DAI Token [address]
beg: Minimum bid increase [uint]
ttl: Max bid duration [uint48]
tau: Max auction duration [uint]
kicks: Total auction count [uint]
live: Access flag [uint]
DaiJoin - Dai token adapter
--------------------------------------------------------
vat: Vat [address]
dai: Dai Token [address]
GemJoin - Collateral token adapter
--------------------------------------------------------
vat: Vat [address]
ilk: Ilk identifier [bytes32]
gem: Gem Token [address]
Jug - Stability fees
--------------------------------------------------------
ward(usr: address): Auth [bool]
ilks(ilk: bytes32): Collateral Type [Ilk]
duty: - Stability fee [uint]
rho: - Last drip timestamp [uint]
vat: Vat [address]
vow: Vow [address]
base: Base rate [uint]
Vat - Core accounting
-------------------------------------------------------
ward(usr: address): Auth [bool]
ilks(ilk: bytes32): Collateral Type [Ilk]
Art: - Total Normalised Debt [wad]
rate: - Accumulated Rates [ray]
spot: - Price with Safety Margin [ray]
line: - Debt Ceiling [rad]
dust: - Urn Debt Floor [rad]
urns(usr: address) Cdp state [Urn]
ink: - Locked Collateral [wad]
art: - Normalised Debt [wad]
gem(usr: address): Free collateral [wad]
dai(usr: address): Collateral-backed debt [rad]
sin(usr: address): Un-backed debt [rad]
debt: Total Dai Issued [rad]
vice: Total Unbacked Dai [rad]
Line: Total Debt Ceiling [wad]
live: Access Flag [uint]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment