Someone Flash Loaned $200M From MakerDAO to Make $3 Profit

An arbitrage bot took advantage of MakerDAO's 'DssFlash' contract, creating a $200 million flash loan to extract $3 in profit.

AccessTimeIconJun 14, 2023 at 11:21 a.m. UTC
Updated Jun 14, 2023 at 6:54 p.m. UTC

An arbitrage bot flash loaned $200 million worth of the dai stablecoin (DAI) from MakerDAO on Wednesday, making a $3.24 profit after transaction fees.

The bot took advantage of MakerDAO's 'DssFlash' contract, which permits users to borrow any amount of DAI without incurring fees, according to crypto data provider Arkham Intelligence.

A flash loan is a type of loan that is received and paid back within a single block without any upfront collateral. In this instance, the bot borrowed 200 million DAI tokens and supplied them to the Aave DAI market, borrowing $2,300 worth of wrapped ether (WETH) against it.

That WETH was used to buy Threshold Network (T) on Curve before it was sold on Balancer in a myriad of single-block transactions.

The total profit before fees was $33, however, it incurred almost $30 in transaction and protocol fees, leaving a net profit of $3.24.

Flash loans have been used nefariously in the past, with a string of flash loan exploits on decentralized finance (DeFi) platforms like Platypus and 0VIX resulting in losses exceeding $10 million.


Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

Oliver Knight

Oliver Knight is a CoinDesk reporter based between London and Lisbon. He does not own any crypto.