Much like an automated market maker, a constant product market maker uses smart contracts and liquidity pools to enable trade. The difference lies in the way it is done. Constant product market makers like Uniswap are built around the constant product formula x*y=k. This formula ensures that even if one of the tokens in a token pair sees an increase in value, the other drops to keep the product of the two constant.