Unisurance

Protect your Liquidity Positions! Unisure's hook tracks Impermanent loss to provide insurance for LP

Unisurance

Created At

ETHGlobal New York 2025

Project Description

Unisure is a Uniswap V4 hook contract that provides automatic impermanent loss protection for DeFi liquidity providers. The contract tracks all user liquidity events, calculates real-time impermanent loss during position removal, and automatically determines insurance eligibility. It maintains comprehensive historical data including token amounts, prices, and timestamps for each liquidity operation. Users can claim insurance when their held token value exceeds their pool token value, protecting them from significant losses. The system integrates seamlessly with Uniswap V4's hook architecture, offering gas-efficient loss tracking and insurance management while maintaining full transparency through detailed event logging and claim history.

How it's Made

For a DeFi insurance hackathon leveraging Ethereum Name Service (ENS), Uniswap, and JavaScript, the tech stack needs to support smart contract development, decentralized exchange integration, user-friendly domain resolution, and a robust front-end for user interaction. Below is a recommended tech stack tailored for building a DeFi insurance protocol with minting capabilities (like the ERC20 token discussed previously), integrating ENS for human-readable addresses, Uniswap for token swapping or liquidity provision, and JavaScript for front-end and blockchain interaction. This stack assumes you're building on Ethereum or a compatible testnet (e.g., Sepolia) for a hackathon setting, drawing inspiration from DeFi insurance projects like those mentioned in prior web results

background image mobile

Join the mailing list

Get the latest news and updates