Skip to content
A

Aegis

Restake. Rebalance. Optimize.

Created on 1st March 2025

•

A

Aegis

Restake. Rebalance. Optimize.

The problem Aegis solves

The project addresses the issue of idle liquidity in Uniswap v4 pools, where liquidity providers may miss out on potential rewards due to inactivity. By automatically restaking idle ETH, Aegis ensures that users can continue to earn rewards even when their liquidity positions are not actively generating fees.

User Interaction and Data Flow

A liquidity provider deposits ETH into a Uniswap v4 pool.
The liquidity provider's position becomes inactive due to low pool activity.
RestakingHook checks the position’s status and identifies that the liquidity is idle.
The smart contract automatically diverts the idle ETH to a restaking contract like Lido.
Rewards from restaked ETH are generated and automatically redistributed back to the liquidity provider.
The liquidity provider can see the rewards and status of their position via the platform's dashboard.

The project architecture and development process

Our solution is a Uniswap v4 Hook that automatically restakes ETH when a liquidity position is inactive. It enhances yield generation by diverting idle ETH to a restaking contract and redistributing rewards to LPs based on their position.

Key features include an automated restaking mechanism for idle ETH, a user-friendly dashboard for tracking liquidity positions and rewards, and integration with Uniswap v4 and P2P for enhanced yield generation.

Smart Contracts
RestakingHook.sol: Smart Contract for liquidity management
PoolKeyETHUSDC.sol: Schema for PoolKey

Frontend
Welcome Folder: Home Screen
Onboarding Folder: Steps 1-3 for imputing/viewing liquidity positions
UserStatistics Folder: Dashboard for positions, lp fees accumulated, restaking rewards, and currently active/inactive of postions

Tests
RestakingHook.t.solv (IP): Check for liquidty management and integration with Uniswap
stake.test.js: Checks for when we hit 32ETH before staking liquidity

Product Integrations

We integrated with Uniswap and P2P (which is built on Eigenlayer)

Key differentiators and uniqueness of the project

Aegis's unique value propositions include its integration with Uniswap v4 hooks, which allows for real-time monitoring and management of liquidity positions. The instantaneous transfer of idle ETH to restaking contracts is another differentiator, as traditional methods often involve longer waiting periods. Additionally, the user-friendly dashboard provides a comprehensive view of positions and rewards, which is not commonly found in similar projects.

Tracks Applied (5)

Best EigenLayer AVS

Uniswap v4 Hook that automatically restakes ETH when a liquidity position is inactive. It enhances yield generation by d...Read More
EigenLayer

EigenLayer

Best Eigen App

Uniswap v4 Hook that automatically restakes ETH when a liquidity position is inactive. It enhances yield generation by d...Read More
EigenLayer

EigenLayer

Consumer DApps (Judged on UX)

Uniswap v4 Hook that automatically restakes ETH when a liquidity position is inactive. It enhances yield generation by d...Read More
okto

okto

DEFI, NFTS + GAMING

Our project is a Uniswap hook that does liquidity management - that best falls under DeFi.

Uniswap V4 on Unichain Innovation

We made a Uniswap v4 Hook that automatically restakes ETH when a liquidity position is inactive. It enhances yield gener...Read More
Uniswap

Uniswap

Discussion

Builders also viewed

See more projects on Devfolio