Degen Code

Degen Code

Pool Reserves — Part III: Swap and Quote Function Upgrades

Faster, Smarter, and More Profitable. A Bot, In a Machine, with Algorithms.

Jan 13, 2022
∙ Paid

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…

User's avatar

Continue reading this post for free, courtesy of BowTiedDevil.

Or purchase a paid subscription.
© 2026 BowTiedDevil · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture