DEFI liquidate:Do we need to burn debtor's DSC? #3121
-
On our stable coins liquidate function, we burn liquidator's DSC, but I didn't see we burn debtor's DSC, do we need it? I am not sure if I miss something.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
We liquidated the mean we make them pay more than normal for the DSC they are holding since they are not healthy, So we don't burn their DSC as we don't have it, but we have taken more of their collateral instead. Does this make sense? |
Beta Was this translation helpful? Give feedback.
Yeah, the user holds the DSC they minted, but they have essentially paid for it by we force-taking out of their collateral. The codebase is far from perfect, though, so you might find some edge cases. The codebase intends to teach us the concept of a Stable coin and not build a flawless protocol.