Easily the best treatment of real reserves in concentrated liquidity AMMs you will find. Most tutorials rehash the whitepaper. Ours re-derived the idea from first principles then made the derivation simpler. It then used a lot of simple diagrams to reduce cognitive load. What makes me especially proud is that I’m not the author of this. RareSkills has a culture of quality that can’t be forked.
RareSkills
RareSkills18.8. klo 21.29
The Uniswap V3 Series continues: Real Reserves and How to Calculate Them The price in an AMM changes when tokens enter and leave the pool during a swap. The real reserves of a token are simply the amount of that token a trader must swap out for the price to reach the next tick. The real reserve of x is the amount of token x required to be swapped out to reach the upper tick -- and the real reserve of y is the amount of token y required to be swapped out to reach the lower tick. You probably learned how to calculate real reserves by "translating" a Uniswap V2 curve until it crosses the x and y axes -- then doing some multi-step algebra. We came up with a much simpler derivation! And it has nice pictures and animations. Learn more in our latest blog post. It's our delight to simplify.
1,47K