Table of Contents

Crypto: Initial ArbitrageManager implementation

In this post, we will start with some preliminary analysis of the blocks/trnsactions content and progressively build our way to an Arbitrage management system for EVM blockchains 😎 Or well… an initial version of it at least lol.

Checking content of a transaction in block

Retrieving common method signatures on a given DEX router

Retrieving most used contracts in the recent blocks

Collecting the quote tokens

Collecting pairs usable for arbitrage setups

Building the ArbitrageManager component

Retrieving the reserves

Checking for arbitrage setups between pairs

Interesting error on parsing of the transaction input data

Filtering arbitrage setup with min value

Conclusion