JunLend
One-click migration that guarantees better yield and liquidation protection.
Screenshots



Problem Statement
JunLend features a simple one-click migration that guarantees better yield and liquidation protection. JunLend pools everyone's positions together. So if I'm borrowing USDC and you're supplying USDC, you can use your USDC to pay off my debt. In this pool, we match users' deposits/borrows to create win-win situations that boost the underlying yield efficiency. This also boosts the global health factor, creating this buffer for liquidations. Instead of AAVE liquidating you, JunLend would liquidate you through a fair Dutch auction that lets you keep the MEV surplus. JunLend will support many lending protocols and many different chains. It's strictly better to use JunLend over the vanilla option.
Solution
The smart contracts use Uniswap v4 to flashloan so it can migrate a user's borrow position. Liquidations are handled with a Uniswap hook that lets users buy the capital in exchange for the debt. Chronicle powers the oracle for internal liquidations. The frontend is built with next.js and wagmi. Testing was done through Foundry.
Hackathon
ETHGlobal San Francisco
2024
Prizes
- 🏆
Best Integration of Chronicle Protocol2nd place
Chronicle Protocol
- 🏆
Hooks, Hooks, and Hooks3rd place
Uniswap Foundation
Contributors
- Jun1on
9 contributions