Use X*Y =K to determine the pool liquidity. X, Y, and K represent the value of ETH, ERC-20 token, and Constant, respectively. The above equation represents the demand and supply of ETH/ERC-20 tokens, and it uses that to balance the price of the pooled token.