Pool Reserves — Part III: Swap and Quote Function Upgrades
Faster, Smarter, and More Profitable. A Bot, In a Machine, with Algorithms.
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…