How do you calculate pool liquidity?

A liquidity pool is a smart contract that holds reserves of two or more tokens and allows anyone to deposit and withdraw funds from them, but only according to very specific rules. One such rule is the constant product formula x * y = k , where x and y are the reserves of two tokens, A and B.

Read more

How are Uniswap fees calculated?

Swapping fees are immediately deposited into liquidity reserves. This increases the value of liquidity tokens, functioning as a payout to all liquidity providers proportional to their share of the pool. Fees are collected by burning liquidity tokens to remove a proportional share of the underlying reserves .

Read more