alchemistcoin / sandwiched-backend

GNU General Public License v3.0
25 stars 7 forks source link

Only fetch pool/token info for swaps that are actual sandwiches #22

Closed henridf closed 3 years ago

henridf commented 3 years ago

This reduces our number of contract read calls by an order of magnitude for cold passes on "typical" wallets. Roughly a 2x speedup on 0xb1.

fixes #21