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 ...

Hankige Crypto uudiskiri
Loe lahtiütlusest : Kogu meie veebisaidi, hüperlingitud saitide, seotud rakenduste, foorumite, ajaveebide, sotsiaalmeediakontode ja muude platvormide ("Sait") siin esitatud sisu on mõeldud ainult teie üldiseks teabeks, mis on hangitud kolmandate isikute allikatest. Me ei anna meie sisu osas mingeid garantiisid, sealhulgas täpsust ja ajakohastust, kuid mitte ainult. Ükski meie poolt pakutava sisu osa ei kujuta endast finantsnõustamist, õigusnõustamist ega muud nõustamist, mis on mõeldud teie konkreetseks toetumiseks mis tahes eesmärgil. Mis tahes kasutamine või sõltuvus meie sisust on ainuüksi omal vastutusel ja omal äranägemisel. Enne nende kasutamist peate oma teadustööd läbi viima, analüüsima ja kontrollima oma sisu. Kauplemine on väga riskantne tegevus, mis võib põhjustada suuri kahjusid, palun konsulteerige enne oma otsuse langetamist oma finantsnõustajaga. Meie saidi sisu ei tohi olla pakkumine ega pakkumine