Pool Reserves — Part III: Swap and Quote Function Upgrades
Faster, Smarter, and More Profitable. A Bot, In a Machine, with Algorithms.
We’ve made it through Part I and Part II of the Pool Reserves Series. No dry mathpoasting in this one, hoorah!
Now that we’ve derived some useful equations, let’s do some work to completely replace getAmountsOut(). This will set us up for maximum trading profit potential going forward, since we can grind out value from almost any pool state regardless o…
