From 25262b3f52b2f8ff9faa8dac51217d9bf793a860 Mon Sep 17 00:00:00 2001 From: aab77711 <158707190+aab77711@users.noreply.github.com> Date: Sat, 13 Apr 2024 03:42:54 +0400 Subject: [PATCH] FlashLoanArbitrage.sol --- contracts/FlashLoanArbitrage.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/FlashLoanArbitrage.sol b/contracts/FlashLoanArbitrage.sol index dd73cc0..50881b4 100644 --- a/contracts/FlashLoanArbitrage.sol +++ b/contracts/FlashLoanArbitrage.sol @@ -135,6 +135,7 @@ contract FlashLoanArbitrage is FlashLoanReceiverBase { amount ); + // we try to sell ETH with higher price and buy it back with low price to make profit if (uniswapPrice > sushiswapPrice) { require(