Перегортаємо сторінку.
Відкриваємо наступний розділ…
Псс… читайте так, як зручно вам.
Шрифти й теми — у розділі Оформлення. Вашим очам має бути зручно.
Відкриваємо наступний розділ…
An uncollateralized loan that must be borrowed and repaid inside the same transaction, used for arb and liquidations.
Перевіряємо підтримку читання вголос у браузері…
Цей матеріал наразі доступний англійською. Інтерфейс використовує вибрану вами мову.
Читати англійський оригінал →A conventional flash loan makes liquidity available to a receiver contract during one transaction, with repayment and any required fee enforced before completion. If the repayment condition is not met, the transaction reverts. Atomic execution is the key mechanism: the lender does not rely on an unsecured promise to repay tomorrow. The borrower still needs correctly implemented contract logic and enough resources to cover execution and fees, so temporary access to principal is not equivalent to cost-free capital.
A contract might borrow an asset, perform a sequence that changes a collateral position, and repay within the same operation. Whether that sequence is feasible depends on available liquidity, approvals, market conditions, and the called protocols. Aave V3 distinguishes its simple single-reserve flash-loan flow from a broader flow that can, under specified conditions, open a backed debt position instead of immediate repayment. Documentation must identify which mode is being discussed; not every function bearing the flash-loan name has identical settlement options.
A reverted operation can still consume gas, so atomic repayment does not guarantee a profitable strategy. Flash liquidity can also amplify weaknesses in applications that trust a manipulable spot price or assume users cannot temporarily command substantial capital. The underlying security issue is then the vulnerable application's assumptions, not a general failure of repayment enforcement. For educational analysis, separate the source of temporary liquidity, the state transitions performed, the price data consulted, and the final repayment condition.
This makes a complex incident easier to explain without mistaking every flash loan for an attack.