Concept Flow - Flash loans
Start Transaction
Borrow funds instantly
Use funds for arbitrage or swap
Repay loan + fee within same transaction
If repayment successful
→Transaction succeeds
If repayment fails
→Transaction reverts, no loss
Flash loans borrow funds instantly within one transaction, use them, and repay immediately; if repayment fails, the whole transaction is canceled.