Could you please elaborate on the workings of
Uniswap V2? I'm particularly interested in understanding the underlying mechanisms that facilitate automated liquidity provision and the role of smart contracts in this decentralized exchange. How does it ensure a seamless trading experience for users, and what are the key features that set it apart from other decentralized exchanges? Additionally, could you discuss the importance of liquidity pools and how they contribute to the overall functioning of Uniswap V2?