ArbSwapper icon indicating copy to clipboard operation
ArbSwapper copied to clipboard

Frontrun

Open spikeruk opened this issue 3 years ago • 3 comments

P.s I dont think you are being frontrun, I think you are being backrun

They look at the mempool for normal transactions that would generate an ARB (even before they are mined) They then create their own transaction (the actual arb) and give it the same gas price as the normal transaction. The reason for this is so that it gets placed 1 position AFTER the normal transaction in the block, this ensures the Arb exists when their transaction gets processed. (A front run is the opposite where you would pay a slightly higher gas price to get it BEFORE the transaction in the block, but this is no use in this scenario as the arb wouldn't yet exist).

spikeruk avatar Oct 18 '20 09:10 spikeruk