3 ms·
sandwich bots exploit swap slippage on decentralized exchanges... e.g. a user submits a swap transaction from currency A to currency B with high allowed slippag
by beaugunderson 2y ago
sandwich bots exploit swap slippage on decentralized exchanges... e.g. a user submits a swap transaction from currency A to currency B with high allowed slippage, a sandwich bot notices and copies that transaction from the public mempool and constructs two swap transactions on either side of it where they swap from A to B before the user and swap from B to A after, profiting from the price move of the user's swap. they submit this as a bundle to MEV-relay with a tip high enough to have it included in a block, and if it's included they book the profit. if not included there's nothing at risk, not even wasted gas. there IS risk if the bundle is exposed to other searchers, which is what happened in this case. multiple bots will often find submit the same bundle with escalating tip amounts, so the profit eventually becomes slim with more participants trying the same sandwiches.