DeFi darling Yearn.finance (YFI) deployed a new token—then $15m was stolen

DeFi darling Yearn.finance (YFI) deployed a new token—then $15m was stolen
фото показано с : cryptoslate.com

2020-9-30 06:00

It’s been yet another crazy day for the decentralized finance (DeFi) ecosystem. If you’ve been on Twitter, you likely know of a new Ethereum project called Eminence and the subsequent $15 million hack.

Here’s a brief recap of what happened for those not yet in the know.

The launch(?)

24 hours ago as of this article’s writing, Andre Cronje, the founder of top Ethereum protocol Yearn.finance (YFI), deployed a series of new contracts pertaining to a project called Eminence.

There was no official announcement or website, only the tweet seen below, which seems to reference the title given to fans of the Synthetix protocol, spartans (as in, this is Sparta spartans). Cronje retweeted the account, suggesting it was somehow related to him and Yearn.finance.

pic.twitter.com/tV9LSzPXlV

— eminence.finance (@eminencefi) September 28, 2020

People scrambled to figure out what was going on.

Quickly, people on Twitter and on other social media platforms found that the Yearn.finance Deployer address on Ethereum, meaning Andre, had deployed a series of contracts on the blockchain.

The contracts pertained to new tokens, including Eminence (EMN), GIL (GP), and a series of “eTokens” that represented different coins like YFI, AAVE, SNX, and CRV DAO Token.

While nobody knew what the tokens were for, many were quick to FOMO into the contracts as many thought this was the launch of something big for the Yearn.finance project.

The main Eminence address, which was the entry point for the whole ecosystem began to rack up deposits.

The FOMO

The first few hours went quietly, with only those in the know siphoning capital into these smart contracts.

But around 4-5 hours after the contracts were deployed, an inflection point was reached where top accounts on Twitter were tweeting about EMN.

People are sending millions of dollars to a smart contract for a token of a project we have no other information of besides a logo. There's not even a live website so you need to buy by calling the contract.

Wouldn't expect anything less from you degens https://t.co/PAIdsqLJ5p pic.twitter.com/Kr8OWYve4E

— Andrew Kang (@Rewkang) September 28, 2020

Simultaneously, users were getting acclimated with how to use the complicated smart contracts and the bonding curves, through which the tokens were released. And so they FOMOed in.

In the span of an hour or two, the value locked in the EMN contract went from $3 million to $12 million as FOMO spread across the community.

Andrew Kang, founder of Mechanism Capital, remarked on the absurdity of the FOMO:

“People are sending millions of dollars to a smart contract for a token of a project we have no other information of besides a logo. There’s not even a live website so you need to buy by calling the contract.”

The hack

Shortly after Kang’s tweet, maybe around two hours later, it quickly became clear that something was wrong: the $15 million worth of the DAI stablecoin that was deposited in the contract was suddenly sent to another address in a suspicious transaction.

As can be seen below, the transaction saw a series of in-block transactions that allowed the user to mint millions upon millions of EMN tokens and a sub-token, Eminence AAVE (eAAVE).

The transaction, along with two others done in succession, allowed the user to drain $15m worth of DAI from the pool to their own address.

Sources I spoke to quickly figured out what happened: there was a bug in the bonding curve of the contracts that allowed a user to buy tokens up the curve, where the curve got extremely steep due to a bug, then sell it on those that bought before them.

Since the user was using a “flash loan,” where one can borrow coins for a single block, he was able to buy up the bugged curve many times before dumping the coins on the users, thus getting the DAI in the pool.

After three minutes, $15 million in DAI was sitting in a user’s account.

But in a fascinating turn of events, $8 million was sent back to Andre, leaving many scratching their heads as to what was going on.

The fallout

After two hours of confusion, madness, and denial, Cronje revealed what had happened:

1/x First, the data;

1. Yesterday we finished the concept behind our new economy for a gaming multiverse. Eminence. As per my usual methodology, I deployed our staging contracts on ETH so we can continue developing on it.

2. Eminence is at least ~3+ weeks still away

— Andre Cronje (@AndreCronjeTech) September 29, 2020

Basically, he deployed the contracts to stage the new Ethereum-based game Eminence, which he claims is still over three weeks away. The contracts were not finalized, but he deployed them anyway because he “tests in production.”

Of course, users found the contracts, and the rest is history. Cronje added that he is looking to return the $8 million he got from the hacker somehow, but it’s unclear how that will happen right now.

The community is divided over what this means for the ethos of “test in prod,” Andre, and the rest of the DeFi space.

Some are upset that he doesn’t test his contracts on a testnet; others think it is the fault of those that put in money as there was no proper front-end or announcement.

The post DeFi darling Yearn.finance (YFI) deployed a new token—then $15m was stolen appeared first on CryptoSlate.

Similar to Notcoin - TapSwap on Solana Airdrops In 2024

origin »

Defi (DEFI) на Currencies.ru

$ 0.0182135 (-17.70%)
Объем 24H $1.165k
Изменеия 24h: 74.29 %, 7d: -97.27 %
Cегодня L: $0.0182135 - H: $0.0182135
Капитализация $0 Rank 3233
Цена в час новости $ 1.2416 (-98.53%)

defi finance token stolen 15m new yearn

defi finance → Результатов: 126


Фото:

RCO Finance (RCOF): A Strong Contender Against Dogecoin and SHIB in the Battle for DeFi Supremacy

In the ever-changing world of crypto, Decentralized Finance (DeFi) platforms, such as RCO Finance (RCOF), have proven groundbreaking introductions that make transactions easier for traders. Even top coins like Shiba Inu (SHIB) and Dogecoin (DOGE) are associated with DeFi platforms, making it easier for their holders to exchange their crypto and transact globally. However, RCO […]

2024-5-15 12:01


DeFi hacks on Binance Smart Chain continue as ‘Impossible Finance’ drained for $500k

Impossible Finance, a decentralized finance (DeFi) protocol on the Binance Smart Chain has been exploited for $500,000 in a flash loan attack.  A flash loan attack is a common type of DeFi exploits in which hackers take an uncollateralized loan from a lending protocol and through a series of technical maneuvers manipulate the market in […] The post DeFi hacks on Binance Smart Chain continue as ‘Impossible Finance’ drained for $500k appeared first on CryptoSlate.

2021-6-23 01:00


DeFi platform Sheesha Finance and aggregator Plasma Finance team up to improve asset management

CryptoNinjas » DeFi platform Sheesha Finance and aggregator Plasma Finance team up to improve asset management Sheesha Finance, a comprehensive DeFi solution for investors to easily access a variety of projects while solving issues surrounding locked crypto assets, and Plasma Finance, a DeFi dashboard aggregating the most popular DeFi applications in one place, today announced a partnership to bring sustainable and easy-to-use asset management services to DeFi.

2021-4-15 03:40


The Elephant in the Room: How This Project Addresses Human Reliance in Token Economy Models

Blockchain and DeFi protocols are only as strong as their weakest link With today’s ever-growing blockchain landscape, token economies are bigger and more active than ever. When it comes to DeFi (decentralized finance) in particular, there is nearly $44 billion locked in decentralized finance protocols, with users around the globe forming part of various innovative […]

2021-3-31 13:00