Degen Code

Degen Code

Share this post

Degen Code
Degen Code
Smart Contract Arbitrage — Towards A Smarter Contract
Copy link
Facebook
Email
Notes
More

Smart Contract Arbitrage — Towards A Smarter Contract

Double-plus-smart

Mar 19, 2022
∙ Paid
18

Share this post

Degen Code
Degen Code
Smart Contract Arbitrage — Towards A Smarter Contract
Copy link
Facebook
Email
Notes
More
2
Share

The two-pool smart contract that I cooked up in a previous lesson was useful for educational purposes, but it has several key issues that make it unsuitable for production arbitrage:

  • It’s insecure

  • It uses the router

  • It requires approval

  • It consumes too much gas

  • It does too many transfers

  • It skips identity checks on both the execute() and callback functions

Th…

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 BowTiedDevil
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More