
Compound V2: The Comptroller
This article is part of the Compound V2 series. See the series index for a full list of articles. The Comptroller is the risk engine of Compound. While the cToken contracts handle the mechanics o...

This article is part of the Compound V2 series. See the series index for a full list of articles. The Comptroller is the risk engine of Compound. While the cToken contracts handle the mechanics o...

This article is part of the Compound V2 series. See the series index for a full list of articles. The blockchain is immutable. Once a contract is deployed, there is no way to update it. This is b...

This article is part of the Compound V2 series. See the series index for a full list of articles. CToken is an abstract contract. It defines the core logic for minting, redeeming, borrowing, repa...

This article is part of the Compound V2 series. See the series index for a full list of articles. This article walks through liquidation in Compound’s cToken contract. Liquidation is how the prot...

This article is part of the Compound V2 series. See the series index for a full list of articles. This article walks through two core operations in Compound’s cToken contract: borrowing and repay...

This article is part of the Compound V2 series. See the series index for a full list of articles. This article walks through two core operations in Compound’s cToken contract: minting and redeemi...

This article is part of the Compound V2 series. See the series index for a full list of articles. The accrueInterest function is the backbone of the Compound protocol. It is called before most ac...

Make a Linux Bootable USB on macOS Here’s the simple way to flash a Linux ISO onto a USB drive using macOS built-in tools. No extra software, just terminal. ⚠️ This will completely erase the USB ...

This article is part of the Compound V2 series. See the series index for a full list of articles. This article explains the fixed-point math behind Compound. Understanding this is a crucial stepp...

This article is part of the Compound V2 series. See the series index for a full list of articles. To build a lending protocol, you need a way to track how much debt each borrower owes as it accum...