News for hackers. Stuff that matters.
Re:Flash Loans Are Providing Instant Cash to Crypto Speculators by bondarchuk on Sunday February 07, 2021 @02:12PM (#26057292)
If the transaction doesn't immediately (within the same block) result in enough profit to pay back the loan with interest, the loan is canceled altogether, i.e. basically it doesn't even happen. Then you only pay some gas fees for executing the smart contracts up to that point (which can be a few hundred bucks nowadays, I must say).
Re:Flash Loans Are Providing Instant Cash to Crypto Speculators by exo762 on Sunday February 07, 2021 @02:19PM (#26057360)
More than that. You can actually simulate your execution locally. So you should know if there is a possibility of making a profit even before you send the tx.