Lesson 16 - Changes in Liquidity
Liquidity changes the invariant:
Minting or burning of pool shares:
For Uniswap 2, this is the formula for the initial pool shares:
Once the pool exists, the change in share pools as liquidity is added:
Agent shares then are the additional shares the agent receives of the total Shares, proportional to the amount contributed.
This is the same the amount of additional Pool Shares minted to accomodate the increased liquidity: