safetyhook
ERC-4626 Morpho vault · Uniswap v4 liquidity-driven safety buffer
Sepolia

1 · Demo token faucet

Rate-limited to 10,000 tokens per 4 hours per wallet.

dUSD vault asset + pool token
dTKN pool token

2 · MorphoVault (ERC-4626)

Total assets
dUSD
Idle buffer
Lent to Morpho
dUSD earning supply APY
Share price
sMUSD / dUSD
Deposit dUSD
Redeem sMUSD
Keeper
Your position
Morpho markets (allocation targets, curator priority order)
#MarketMarket idSuppliedCapShare of market
SimMorpho owner wallet only · lifts every supplier's balance

3 · Pool liquidity & hook effects

The hook watches this dUSD/dTKN pool. Crossing a band re-tunes the vault's idle buffer: thin < 5 L → 30% · normal → 10% · deep ≥ 50 L → 2%. Swaps don't move liquidity; adding/removing liquidity does.

Pool liquidity
Band
Vault buffer
0thin 5 Ldeep 50 L75 L
Add liquidity (L)
Remove liquidity (L)
Swap (exact in)
Hook events (live)
BlockEventLiquidityIdle buffer