Register and share your invite link to earn from video plays and referrals.

Diphunter ¤
@Diphunter18
Member of @FraxForce
Joined August 2025
207 Following    378 Followers
Part 1, LLAMMA (Curve) vs xPOSITIONS (f(x) Protocol)- Diphunter x @royal1dd - Investigation LLAMMA explains how $crvUSD manages collateral risk. Looking beyond the liquidation mechanism, the CDP model explains why Curve was able to build this system in the first place. Users provide collateral and mint crvUSD against their position. The protocol creates the debt directly and manages the relationship between collateral and borrowed stablecoins. This architecture matters because LLAMMA is built around continuous collateral management. To adjust a position through different price bands, the protocol needs direct insight into the collateral, the debt, and the state of the position. This is where CDPs differ from traditional money markets. In systems like Aave, borrowers access liquidity supplied by other users. Depositors provide assets, borrowers use that liquidity, and interest rates adjust based on supply and demand. With a CDP, the stablecoin is created when users borrow against their collateral, creating a debt position that is managed directly by the protocol. For LLAMMA, this design choice is what makes soft liquidation possible. The system can continuously adjust collateral exposure as prices move instead of relying on one liquidation event. The connection between debt creation and collateral management allows LLAMMA to gradually shift positions through different price bands. Another example, A user deposits $20,000 worth of ETH and mints 10,000 crvUSD against the position. At the beginning, the position is mostly exposed to ETH while the collateral value remains comfortably above the debt. Now imagine ETH drops significantly and the collateral value falls toward the liquidation range. In a traditional liquidation model, the position approaches a specific threshold where collateral is sold and the user loses control over the process. With LLAMMA, the position moves through different price bands. As the market declines, parts of the collateral are gradually converted into crvUSD to protect the system. The user still has an active position, but the composition of the collateral changes as the market moves. If ETH later recovers, LLAMMA can move the position back in the opposite direction, gradually increasing ETH exposure again. The important difference is that risk management happens continuously instead of at a single liquidation point. This is the core idea behind Curve's approach. The CDP model gives the protocol control over the debt position. LLAMMA uses that control to create a liquidation mechanism that adapts to market movements. Every lending model comes with different trade-offs. Money markets optimize around shared liquidity and efficient lending markets. CDP systems optimize around protocol-controlled debt creation and custom risk management. Curve chose this path because crvUSD was designed around a different approach to handling volatility. One of the things I like about DeFi is seeing different protocols look at the same challenge and build completely different architectures around it. Curve chose a CDP model to enable LLAMMA and its approach to continuous collateral management. In Part 2, Royal will continue this comparison by looking at another approach with f(x) and how xPOSITIONS tackles leverage and risk from a different direction.
Show more
“Like every borrowing position, Alice pays interest on her debt.”. That's not entirely correct. On @protocol_fx, you don’t pay interest on the debt, but rather a small opening fee (0.5%) and a closing fee (0.2%). That’s it. Even with the very low interest rates that are also available on Llamalend, there’s no match for medium and long-term positions: f(x) is simply the most economical and safest solution (see @PharosWatch). And f(x) also protects against liquidations by automatically rebalancing the position. What do you say—shall we conduct a real-world comparison test between the two protocols by opening a few positions at risk?
Show more