-
Notifications
You must be signed in to change notification settings - Fork 444
User Data
dc edited this page Jun 5, 2019
·
1 revision
Urn records hold current Cdp state for a given user (address) and collateral type (Ilk)
- ink - Locked collateral (Gem)
- art - Debt on issue (Dai)
Vat.urns[ilk][user]
User balances for collateral tokens added to the system via join are accounted for in the Vat as Gem according to collateral type Ilk.
Vat.gem[ilk][user] // Free collateral (Gem)
Cdp debt balances are accounted for in the Vat as Dai.
Vat.dai[user] // Dai balance for a given user (Dai)
User balances for Dai which has been allocated to savings is accounted for in the Pot as Pie.
Pot.pie[user] // Savings Dai balance for a given user
Un-backed debt i.e. debt seized from liquidated Cdps is accounted for in the Vat as Sin. (In practice, the Vow is the only user with a non-zero Sin balance.)
Vat.sin[user] // Bad debt (Sin)
If you have any questions regarding the Maker Protocol, please reach out to us on the #dev channel in chat.makerdao.com.