Smart Liquidity Pools