Hi I have a couple questions about Uniswap that I couldn't find answers to online.
When someone adds liquidity to a pool, what function gets called and in what contract file? I see functions for swapping but not for adding liquidity.
How is each person's share of liquidity tracked? Is it based on how many UNI tokens they redeem at the time of removing the liquidity or are UNI tokens different? Also what contract function is called to redeem their liquidity?
Hi I have a couple questions about Uniswap that I couldn't find answers to online.
When someone adds liquidity to a pool, what function gets called and in what contract file? I see functions for swapping but not for adding liquidity.
How is each person's share of liquidity tracked? Is it based on how many UNI tokens they redeem at the time of removing the liquidity or are UNI tokens different? Also what contract function is called to redeem their liquidity?
Thanks, Colman