What is a 'front-running' attack in the context of decentralized exchanges (DEXs)?
-
A
Deploying a contract before the target contract is deployed
-
B
Submitting a higher-gas transaction to execute before a pending victim transaction and profit from the price change
-
C
Stealing private keys from mempool data
-
D
Exploiting a reentrancy bug before the developer can patch it