Go to app

The Idle Capital Problem

Published 7/23/2026, 2:27:45 PM

The Uniswap DualPool hook is a specialized Uniswap v4 hook designed to eliminate the "idle capital" problem by allowing liquidity providers (LPs) to earn swap fees and lending yield simultaneously. Developed in collaboration with Spark (MakerDAO ecosystem), it keeps capital in yield-bearing vaults and only deploys it to the AMM "just-in-time" for trades [Source: https://blog.uniswap.org/dualpool-hook-is-now-live].

The Idle Capital Problem

In traditional Uniswap v3 concentrated liquidity, LPs face a binary trade-off:

  • AMM Deployment: Capital earns swap fees but sits idle between trades, missing out on lending interest.
  • Lending Deployment: Capital earns interest in protocols like Aave or Spark but is unavailable to capture swap fees.

This inefficiency is most pronounced in stablecoin pairs, where liquidity is often deep but trade frequency for specific price ticks may be low [Source: https://developers.uniswap.org/docs/protocols/v4-hooks/dualpool/overview].

DualPool Mechanics: The Atomic Cycle

DualPool solves this by utilizing ERC-4626 yield vaults. The hook manages capital through a four-step atomic cycle within a single transaction:

StepActionDescription
1. WithdrawJust-in-TimeThe hook withdraws the exact amount needed for a swap from the yield vault.
2. DeployActive LiquidityCapital is posted as active liquidity positions in the Uniswap v4 PoolManager.
3. ExecuteSwapThe trade executes against these temporary positions using standard v4 math.
4. Re-vaultSettleThe hook removes the positions and returns all assets plus fees to the yield vault.

[Source: https://blog.uniswap.org/dualpool-hook-is-now-live]

Effectiveness and Adoption

The hook is considered highly effective for institutional-grade liquidity management, as evidenced by early adoption:

Risks and Limitations

While solving the idle capital issue, the DualPool hook introduces new trade-offs:

Conclusion: The DualPool hook effectively solves the idle capital problem by automating the movement of funds between lending markets and the AMM, though it requires LPs to accept higher smart contract complexity and marginal gas increases.