@chinazes98
UniV2 formula (x * y = k) to determine the price of any two tokens in a pool.
If a pool has 100 ETH and 200,000 DAI, then k=100×200,000=20,000,000. If someone swaps 1 ETH for DAI, the new amounts are 99 ETH and 202,020.20 DAI, and the product is still k=99×202,020.20=20,000,000.