The Vyper throws a curveball at the Curve (exploit)
To the chagrin of many DeFi proponents, Curve, a revered blue-chip money market in the ecosystem, was exploited this past week. This was not their fault but because Vyper, a Python-based smart contract language for EVM, did not correctly implement a reentrancy lock, which allowed bad actors to repeatedly re-enter a contract. This resulted in ~$70m in liquidity drained, in which ~$45m was drained from 4 liquidity pools on Curve. As a result, $CRV plummeted from its $0.70 – 0.80 levels, to hit a low of ~ $0.08 at one point.
Domino effect of the Vyper’s long tail
Although Curve’s potential fall and token price would be devastating, the longer-tail risks are much more concerning. Curve Founder Michael Egorov had ~$100m in loans backed by 427.5m $CRV (~47% of CRV circulating supply) on various (dominant) lending protocols such as Aave and Frax – 305m ($171m) $CRV backing a $63.2m USDT loan and 59m ($33.1m) $CRV supplied against 15.8m FRAX of debt. While this was happening, there was a huge price differential of $CRV between various DEXes and CEXes, spurring traders to capitalize on potential arbitrage opportunities.
Due to Fraxlend’s time-weighted variable interest rate, Egorov’s position on Frax posed a larger risk to CRV, with his interest rate doubling every 12 hours, assuming collateral and debt positions remain the same, and that his utilization rate remains at 100%. At the time of his distressed position on Frax, Egorov’s 81.2% interest rate on Frax would have surged to 10,000% in a span of ~3.5 days. Egorov attempted to decrease his utilization rate twice, by paying back a total of 4m FRAX in the span of 24h, but unfortunately, his attempts were futile due to users removing their own liquidity upon his repayment of debt.
Organizations and individuals to the rescue
Thankfully, Egorov was able to strike OTC deals with various organizations and individuals, selling them $CRV at a discount to its spot price, then at $0.40. The vesting period and terms of the deal is supposedly for 3 to 6 months, or can be sold if $CRV hits $0.80. It is clear that for the counterparties involved, buying $CRV at a discount to spot would potentially be a profitable trade – Egorov would have the funds to repay his debts, and with confidence restored in Curve, the token would then recover in price.
Sandra Leow, Research Manager at Nansen, shared a summary of the OTC deals and counterparties:
Table 1: OTC Purchasers of $CRV from Egorov (Source: @sandraaleow)
As of 3 August 11:30pm EST, Egorov has sold a total of 106m $CRV for $42.41m, having $65.34m in debt remaining:
Table 2: Summary of Michael Egorov’s Debt Positions, as of 3 August, 11:30pm EST (Source: @lookonchain)
What is evident is that many of these counterparties have a vested interest in not only a profitable trade, but also preventing the collapse of a DeFi stalwart, and hence, other key protocols in the space. It is also positive to note that Egorov is still making strides to rescue his own brainchild by repaying his debts, eventually bolstering the DeFi space from further repercussions.
Memecoin Monitoring: “We are so back?!”
From animal racing to games
Two weeks ago, we highlighted the world’s first ever real livestreamed hamster race betting platform built on ETH and BSC. Following the $HAMS hype, many other ‘rodentfi’ projects have emerged – from hedgehog and rat racing, to rat roulette, most of which have surged, chopped, and crashed, while others have rugged.
Retro game related shitcoins also took the spotlight for about half a day before fizzling out. Attention on $tetris, the token for an on-chain PvP Tetris game, spread like wildfire last week, surging over ~70,000% within ~3 hours, then crashing 5 hours from its peak. In an effort to capitalize on the attention on $tetris, $SNAKE, a token for a PvP on-chain classic mobile snake game synonymous with old Nokia phones, launched last Friday. Unlike $tetris, $SNAKE only surged a ‘measly’ 225.15% from launch to its peak, before tumbling down.
Base-ically Shitcoins for now
Just when shitcoin traders thought they could catch a break, the next shitcoin play was just around the corner. The Base blockchain (by Coinbase) garnered much attention last weekend, as users bridged their ETH from ETH mainnet to Base, via a portal proxy contract. (no official frontend available yet)
With DEXes such as LeetSwap and RocketSwap available on Base, it was only a matter of time before shitcoins started making their appearance. $BALD, a memecoin based on Brian Armstrong’s baldness, was the star of the show, soaring a whopping 100x within a few hours from its launch.
Unfortunately, it was not long before Leetswap, the (then) largest DEX on Base had some of its liquidity pools exploited (potential initial losses >$600k), causing most tokens in the Base ecosystem to plunge. Leetswap stopped trading to investigate, and since then has yet to resume operations.
As of 31 July, there is ~$65m in ETH bridged to Base, with minimal ways to bridge back to ETH mainnet. However, following the various crises on Base, TVL had fallen from ~ $40m to $10.88m as of 3 August. Base is set to be open to the public on 9 August. We would expect an uptick in Base’s TVL, as more convenient front-ends are available for users to bridge their assets over.
$BALD rapidly loses its shine
Four addresses that withdrew 0.5 ETH each from Bybit, bought 50m $BALD (5% of token supply) within 4 minutes from launch (link). Following the surge, 37m $BALD was sold for $1.04m. A Twitter user, @cheatcoiner.eth, bought 2% of the token supply when it was under 50k market cap, turning $500 into a stunning $1.5m within a day. It was interesting that (i) the token was deployed by a whale that holds 49% of cbETH supply, that was bought on Uniswap v3, and that (ii) a substantial amount of $30m in liquidity was added to $BALD – a sign of a well-coordinated effort.
After $BALD had reached ~ $100m in market cap, the whale removed liquidity from the pools on Leetswap (but did not sell), profiting around $5.9m from supply and the liquidity withdrawal. This caused $BALD’s token price to plummet by ~7x.
Who is $BALD?
The deployer address mentioned above has a history of using leading exchanges, with the largest share of interaction with FTX, and also with Alameda in the past. Apart from that, the $BALD deployer’s Binance wallet frequently received deposits from one of the wallets that helped trigger the UST depeg.
Twitter user @MikeMcDonald89 wrote that he received $50,000 in winnings from a bet on the Chess World Championships back in 2021, from an address owned by @milkyway16eth, who sent and received large amounts of cbETH and USDC to and from the BALD deployer address.
Regardless, as majors and large-cap altcoins have been trending sideways, the community has been finding ways to earn outsized returns, with higher risks involved. It is also evident that since the tail-end of 2022, when it comes to new chains being birthed on the mainnet, shitcoin games abound – as with Canto and PulseX, and the relatively more ‘serious’ chains like Mantle and now, Base.
Arbitrum Stylus: A Stylish Solution
This is not new news, but back in February, Offchain Labs revealed Stylus, a programming environment upgrade for Arbitrum One and Nova. Stylus enables developers to submit contracts in WASM, and deploy programs alongside existing Solidity dApps, using traditional programming languages such as Rust, C, C++ and more.
The upgrade would allow for faster dApps to be built, as dApps written in Rust are typically faster than those written in Solidity and Vyper. It would also make fees cheaper. Another benefit, when paired with the data-saving properties of Arbitrum Nova, is that Stylus would enhance the viability of decentralized gaming. The upgrade will go live this year, but the exact date has yet to be confirmed.
We have previously seen other chains attempt to allow developers to use ‘non-native’ languages to build dApps:
- Back in 2019, Polkadot, a Rust-based chain, enabled Solidity code to be deployed through Substrate
- Algorand, a Teal-based chain, allows users to build with Python wrappers
- NEAR, a Rust-based chain, allows users to interact with the blockchain with a complete Javascript API library
- Cosmos, a Golang-based chain, has allowed users to build with various languages such as Solidity, SES and Pact.
Such announcements typically do not tend to impact the price of a blockchain’s token.
In analysing these chains, Electric Capital reported that from 2021 to 2022:
- Total developers on Polkadot barely increased
- Algorand lost ~10% of its developers
- NEAR’s and Cosmos’ developer count increased by ~50% on each respective chain
Hence, such measures may not actually have a huge impact on attracting developers. Instead, reports from 2022 and 2023, show developer count is positively correlated to market conditions. We expect that intuitively, an ecosystem’s developer count would also be a lagging indicator to its token’s price.
It also remains to be seen if Arbitrum’s actions would be effective in attracting more developers – we believe that these moves are not very pivotal in increasing developer count, which would be driven more by market conditions (e.g. token price) and the overall success of the individual chain.