Uniswap's StablePair Hook Criticized for Potential Flaws Affecting LP Returns
The StablePair hook on Uniswap's Ethereum mainnet pools, USDC/USDT and USDC/USDG, has been criticized for its potential flaws that could impact liquidity provider (LP) returns.
The StablePair hook uses a fixed reference price and cached data, which can leave LPs exposed when a stablecoin weakens. This is because the hook's fee design does not charge LPs when a weakening stablecoin changes the inventory they hold.
According to the source, the hook's fee calculation is based on the distance between the Automated Market Maker (AMM) price and the edge of its band. Swaps that move the pool price farther from the reference pay no LP fee, which can lead to a situation where LPs are not compensated for the added exposure when a stablecoin weakens.
The source provides an example where an LP holding 10,000 hypothetical coins sees their external value fall from $1 to $0.90 each, resulting in a $1,000 loss. This scenario illustrates the mechanism an LP is taking on when a pool asset weakens.
Uniswap's StablePair hook is upgradeable, allowing for changes to the reference and other fee parameters without creating a new pool address. However, the hook's implementation has been criticized for its potential flaws, and LPs are advised to read the live reference and fee parameters from the hook, track which asset their position accumulates during one-sided selling, and compare fee income with any change in the value of that inventory.