The attacker could then deposit the purchased token B as collateral utilizing the artificially substantial location rate from the DEX. At last, they might use a portion of their borrowed token A to repay the flash loan. This series of transactions would leave the DeFi protocol within an undercollateralized placement https://cristianisydh.livebloggs.com/35423857/the-smart-trick-of-flash-cash-loan-that-nobody-is-discussing