flashbots / mev-inspect-py

🔎 an MEV inspector for Ethereum 🔎
MIT License
814 stars 256 forks source link

Sandwiches are not detected #304

Open etelpmoc opened 2 years ago

etelpmoc commented 2 years ago

Block #15030680 contains sandwiches attacks, but only first transaction is found as arbitrage transaction, and its gross profit is written as -61051.804037.

mev_inspect=# select * from arbitrages where block_number = 15030680; -[ RECORD 1 ]--------+------------------------------------------------------------------- id | d8542875-54fa-4f0d-a8b3-5a099c240f49 created_at | 2022-07-05 19:22:23.946739 account_address | 0x46c4128981525aa446e02ffb2ff762f1d6a49170 profit_token_address | 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 block_number | 15030680 transaction_hash | 0x4674182b0817ad003df6dd8d3f5d9b3b969771ba9bb13ad14ae50d2494fce7ee start_amount | 62507699296 end_amount | 1655326816 profit_amount | -60852372480 error | protocols | {uniswap_v2,uniswap_v3}

0xvv commented 2 years ago

linked to #285