Section 6 Thunderloan - Lesson 39: Oracle Manipulation: Minimized - Some confusion in lesson video #201
-
I’m genuinely interested in this course. Thank you, Cyfrin, for creating it. While learning lesson 39 in section 6 (Thunderloan), I found the order of actions in the flash loan activity confusing. At 7:05 in the video, Mr. Collins mentioned that we could sell NFTs for plus 1 WETH and then undo the swap. However, i think we have to first undo the swap to put the price back to normal (1WETH = 10USDC) before selling the NFTs to take profit (1WETH). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @thai-cong-nguyen, If I remember correctly, we are manipulating the price of USDC on a decentralized exchange that |
Beta Was this translation helpful? Give feedback.
We don't need to wait for the price to return to normal on the
T-Swap
dexes because manipulating the price ofUSDC
OnT-Swap
will not manipulate the price ofUSDC
on Binance, CoinBase, or Uniswap pool. We boughtNFT
for10USDC
, which is supposed to be equivalent to1 WETH
, but because we manipulated the price onT-Swap
dex, we paid weth amount that is very small, and we can go ahead and sell the NFT on any other platform where it will be worth1 WETH
, so basically we used around 0.00001 WETH to buy the NFT onWhoops
marketplace, and we went ahead to sell it for 1 WETH on some other platform like Opensea. Please don't hesitate to ask questions if anything is still confusing.