Uniswap/v2-core

How Pool Tokens Calculated?

mustafatalha opened this issue · 1 comments

Hello,

I wonder, how are the pool tokens that given when we add liquidity in uniswap is calculating? I read the docs and I know that these tokens represent our position in pool, but how they are calculating in uniswap-v2-core?

I read https://uniswap.org/docs/v2/core-concepts/pools/ and didn't find any answer.

Thank you.