NewsBTC
2022-02-28 10:01:28

Hacking Attacks: Ethereum vs Terra Flash Loans

It is standard for DeFi platforms to offer over-collateralized loans, in which borrowers deposit more in assets than they withdraw. Some DeFi platforms (like AAVE) support a newer type of loan, the flash loan. When a loanee takes out a flash loan, no collateral is required. This is achievable because flash loans are repaid within the same transaction that they are taken out – a smart contract is used to rapidly perform a series of transactions that result with the loanee ultimately repaying the loan.   Flash loans are atomic, meaning that they are only processed if all included transactions are executed. If they are not, they are rolled back. This enables individuals to borrow massive sums with almost no risk. It is common for borrowers to withdraw tens of thousands, millions, or even tens of millions of dollars at once, albeit for a brief period.   What Are Flash Loans Used For?   Flash loans have three primary uses: trading arbitrage, collateral swapping, and self-liquidation. Here’s an explanation of each:   Trading Arbitrage: Different exchanges may charge different prices for certain assets, opening opportunities to purchase and sell the same assets on different exchanges for a profit. This process is called “trading arbitrage”. While it can be done manually, doing so usually doesn’t yield much of a profit, since the prices of these assets usually only differ by a fractional amount. Flash loans can be ...

获取加密通讯
阅读免责声明 : 此处提供的所有内容我们的网站,超链接网站,相关应用程序,论坛,博客,社交媒体帐户和其他平台(“网站”)仅供您提供一般信息,从第三方采购。 我们不对与我们的内容有任何形式的保证,包括但不限于准确性和更新性。 我们提供的内容中没有任何内容构成财务建议,法律建议或任何其他形式的建议,以满足您对任何目的的特定依赖。 任何使用或依赖我们的内容完全由您自行承担风险和自由裁量权。 在依赖它们之前,您应该进行自己的研究,审查,分析和验证我们的内容。 交易是一项高风险的活动,可能导致重大损失,因此请在做出任何决定之前咨询您的财务顾问。 我们网站上的任何内容均不构成招揽或要约