How Does a CDP Create Leverage for a User in Decentralized Finance?

A CDP allows a user to create leverage by borrowing against their assets without selling them. For example, a user can deposit ETH into a CDP, mint stablecoins, and then use those stablecoins to buy more ETH.

This new ETH can then be deposited into another CDP to mint more stablecoins, and so on. This process, known as 'leveraged farming' or 'recursive leverage', magnifies the user's exposure to the price movements of the collateral asset.

While it can amplify gains, it also significantly amplifies the risk of liquidation if the asset's price falls.

What Is a Flash Loan and How Can It Be Used to Amplify a Sandwich Attack?
How Does a Collateralized Debt Position (CDP) Function in Decentralized Finance?
How Do Flash Loan Attacks Exploit Smart Contract Vulnerabilities?
What Is a ‘Margin Call’ in the Context of an LTV Breach?
Can You Buy a CDS for a Debt Instrument That You Do Not Own?
How Does Leverage in Derivatives Trading Amplify Both Potential Gains and Losses?
Could a Token Allowance Be Used to Automate Margin Calls in a Decentralized Perpetual Futures Contract?
How Does a Lost Private Key Affect a User’s Assets Managed by a Smart Contract?

Glossar