## flashloans
### tl; dr
* **flashloans** allow the borrowing of any available amount of assets without any collateral, as long as the liquidity is returned to the protocol within one block tx. * flashloans can be requested through smart contracts that execute the steps to borrow nad pay the loan (+ interest fees) withing the same tx.
--- ### in this dir
* [lending](https://github.com/go-outside-labs/mev-toolkit/blob/main/MEV_and_trading/lending/README.md) * [smart contracts](smart_contracts)
--- ### external resources
* [flashloans dashboard, by eigeinphi](https://eigenphi.io/mev/ethereum/flashloan) * [flashloans from dYdX margin trading, by eigenphi](https://medium.com/coinmonks/get-everything-for-nothing-how-to-use-flash-loans-to-launch-an-arbitrage-d8520827cbfe) * [kollateral aggregator](https://www.kollateral.co/) * [taking undercollaterized loans, by samczsun](https://samczsun.com/taking-undercollateralized-loans-for-fun-and-for-profit/) * [tfusd flashloan writeup](https://github.com/Jonah246/tfusd-flashloan-attack-write-up) * [defi hacks: flashloans](https://wooded-meter-1d8.notion.site/0e85e02c5ed34df3855ea9f3ca40f53b?v=22e5e2c506ef4caeb40b4f78e23517ee) * [flashloan-rs rust crate](https://crates.io/crates/flashloan-rs) * [flashloan monitor](https://tools.blocksec.com/flashloan/eth) * [code for flashmint arb](https://github.com/fifikobayashi/FlashMintArbitrage) * [leveraged flashloan sandwich](https://twitter.com/bertcmiller/status/1430169143123353611) * [0xbaDc0dE dydx flashloan mistake](https://twitter.com/bertcmiller/status/1574852629691305993) * [flashloan comparisons in foundry](https://github.com/Jeiwan/flash-loans-comparison) * [flashloan toolbox](https://github.com/Supercycled/flashloans-toolbox) * [sugardad (aave v2)](https://github.com/fifikobayashi/SugarDaddyFlashloan) * [dydx and aave aggregate](https://github.com/fifikobayashi/Aggregated-Flashloan) * [aave flashloan efficiently, by crypto-banker](https://github.com/crypto-banker/FLAAVE/)