1

I want to ask if there is any mathematical or technical reason for the mechanism of adjusting liquidity pools by changing the amount of assets. Can we not only adjust the ratio for the swappers (users of the pool) and hold the ratio fix for the LP providers? So LP providers get back what they provided, but people who use the pools for exchanging tokens get the "current" market rate? So there would be no impermanent loss, right?

Could such a pool be implemented technically? What are the disadvantages?

1

It's simply mathematically impossible. Let me show you why.

  1. Someone creates an empty pool

  2. LP1 adds 100 tokenA and 200 tokenB

  3. LP2 adds 400 tokenA and 800 tokenB

  4. Some trades occur and the pool now has 1000 tokenA and 500 tokenB

  5. If LP2 now wanted to remove his whole share, there simply aren't enough of tokenB for him to withdraw.

2
  • Thanks for your answer! You make the assumption that everybody gets the exact same amount of token back which they provided into the pool. But why not just returning its "share" as percentage of the current pool. So why not giving him 400/500 * 1000 tokenA and 800/1000 * 500 tokenB? Aug 2 at 15:42
  • Isn't that what happens currently? LPs get back the reserves in the same percentage they input liquidity originally Aug 2 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.