Flash Loans
Zero-collateral
atomic borrowing.
Borrow any amount from the pool with no collateral. Execute your strategy. Repay in the same block. If you don't repay — the transaction never happened.
Fee
0.09%
Repay window
1 tx
Collateral
None
Risk to pool
Zero
Available liquidity
WETH
0.09% fee
USDC
0.09% fee
LINK
0.09% fee
How it works
Call flashLoan()
You call pool.flashLoan(receiver, asset, amount). Zero collateral. No credit check.
Tokens arrive
Pool transfers the exact `amount` to your receiver contract before any checks.
executeOperation()
Your code runs. Arbitrage, liquidate, refinance, collateral swap — anything.
You TRANSFER back
You must TRANSFER (not approve) amount + fee back to pool before returning true.
Balance check
Pool verifies balanceOf(self) ≥ original + fee. If not — entire tx reverts. No risk.
Code examples
TRANSFER, not approve
Pool reads balanceOf(self) after your call. You must push tokens back — pool never calls transferFrom.
Single transaction
Borrow + strategy + repayment all happen atomically. A failed repayment reverts everything instantly.
Fee to depositors
The 0.09% fee bumps the liquidity index, distributing yield proportionally to all lToken holders.