Put in order · Blockchain and Web3 course · Module 10: DeFi & Staking

Sorting: Flash Loan Flow

Arrange the flash loan steps (all in 1 transaction):

Items to put in order

  • Use the tokens (arbitrage, liquidation, etc.)
  • Repay the loan + fee
  • Keep the profit
  • Borrow tokens from the lending pool

You can check the correct answer by solving this task in the CodeWorlds game.