Daily Trade News

What are flash loans in DeFi? By Cointelegraph




A large majority of DeFi hacks are flash loan attacks. Since the technology is new, vulnerabilities are not readily apparent and may require skilled developers to identify.

Flash loan attacks can cost DeFi protocols and their users hundreds of millions. As such, safeguards must be put into place to ensure that a protocol is robust and sanitized.

Decentralized pricing oracles to protect against slippage

Tools for detecting possible attacks

Flash loan arbitrage

Collateral swaps

Debt refinancing

  1. Borrow assets from Aave liquidity
  2. Payback debt on Compound
  3. Withdraw collateral from Compound
  4. Deposit collateral on Dydx
  5. Mint debt on Dydx
  6. Return liquidity to Aave
  1. The borrower applies for a flash loan on Aave.
  2. The borrower creates a logic of exchanges to try making a profit, such as sales, DEX purchases, trades, etc.
  3. The borrower repays the loan, makes a profit, and pays a 0.09% fee.
  4. If any of the following conditions occur, the transaction is reversed, and the funds are returned to the lender:

Use of smart contracts

Unsecured loan

Instantaneous transactions

Continue Reading on Coin Telegraph

Disclaimer: Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. All CFDs (stocks, indexes, futures) and Forex prices are not provided by exchanges but rather by market makers, and so prices may not be accurate and may differ from the actual market price, meaning prices are indicative and not appropriate for trading purposes. Therefore Fusion Media doesn`t bear any responsibility for any trading losses you might incur as a result of using this data.

Fusion Media or anyone involved with Fusion Media will not accept any liability for loss or damage as a result of reliance on the information including data, quotes, charts and buy/sell signals contained within this website. Please be fully informed regarding the risks and costs associated with trading the financial markets, it is one of the riskiest investment forms possible.



Read More: What are flash loans in DeFi? By Cointelegraph