What Is a “Flash Loan” and How Does It Exploit Composability?
A flash loan is an uncollateralized loan that must be borrowed and repaid within the same blockchain transaction. It exploits DeFi's composability by allowing a user to execute a complex sequence of actions (e.g. arbitrage, liquidations) across multiple protocols instantly.
If the repayment fails at the end of the transaction, the entire sequence is reverted, leveraging the atomic nature of blockchain transactions.