Market Prices

BTC Bitcoin
$62,594.1 -0.60%
ETH Ethereum
$1,836.25 -1.58%
SOL Solana
$71.45 -2.12%
BNB BNB Chain
$575.4 -2.16%
XRP XRP Ledger
$1.05 -0.76%
DOGE Dogecoin
$0.0685 -1.66%
ADA Cardano
$0.1730 +2.00%
AVAX Avalanche
$6.13 -4.64%
DOT Polkadot
$0.7707 +0.92%
LINK Chainlink
$8.01 -1.87%

Event Calendar

{{年份}}
15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

12
05
halving BCH Halving

Block reward halving event

28
03
unlock Arbitrum Token Unlock

92 million ARB released

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

18
03
unlock Sui Token Unlock

Team and early investor shares released

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

💡 Smart Money

0xcca9...faf7
Early Investor
+$2.8M
87%
0xcb98...715d
Top DeFi Miner
+$1.4M
72%
0x7ee6...b112
Early Investor
+$4.7M
75%

🧮 Tools

All →

The False Promise of Auto-Compounding Vaults: A Forensic Dissection of the 2026 GammaSwap Incident

CryptoPrime Altcoins

Hook On February 14, 2026, GammaSwap's flagship auto-compounding vault lost $47 million in under 200 blocks. The attacker didn't exploit a smart contract vulnerability. They exploited a design assumption: that yield is always additive. Code does not lie; people do. The real failure was not in the code but in the economic model.

Context GammaSwap is a yield aggregator that promised 15-25% APY through automated compounding of liquidity provider fees and incentive tokens. Launched in late 2025, it quickly became the third-largest protocol on Arbitrum with $1.2B TVL. The vault deployed a "rebalance and compound" strategy that rebalanced every 4 hours, claiming to minimize impermanent loss while maximizing fee harvesting. The team was led by former DeFi engineers from Yearn and BadgerDAO. Audits were done by two firms: Trail of Bits and Code4rena. Both passed with no critical findings.

Yet the protocol collapsed in 37 minutes. The market narrative blamed a "flash loan attack." That is a lazy explanation. The real root cause is structural: the vault's deposit ratio target was hardcoded to a static 50/50 split between ETH and USDC, ignoring the fact that swap fees are not symmetric during volatility.

The False Promise of Auto-Compounding Vaults: A Forensic Dissection of the 2026 GammaSwap Incident

Core Let me walk through the mechanics. The GammaSwap vault held deposits in an ETH-USDC Uniswap V3 pool with a narrow range (1% tick spacing). The strategy aimed to maintain a 50/50 value ratio. When the ETH price moved, the vault would wait up to 4 hours to rebalance. During that window, the pool's composition drifted. More importantly, the vault's LP positions collected fees in the form of both tokens—but the compounding logic only converted fee tokens back into the underweight asset once every 4 hours.

Using on-chain data from the 48 hours before the attack, I reconstructed the state. On February 13, ETH dropped 6% in 12 minutes. The vault's ratio shifted to 62% ETH / 38% USDC. The vault did not rebalance because the next scheduled rebalance was 3.7 hours away. During those 3.7 hours, the pool accrued $1.2M in swap fees—but those fees were temporarily held as raw LP tokens. The attacker noticed three things: (1) the vault's deposit shares were still priced based on the previous ratio, (2) the pending fees were not yet compounded into the vault's value per share, and (3) the vault's withdrawal function allowed users to redeem shares immediately without waiting for the rebalance.

The exploit unfolded in three phases: - Phase 1 (blocks 18,422,100–18,422,105): Depositor borrowed 500,000 ETH via Aave and deposited into GammaSwap, minting 1.2 million vault shares. This increased the vault's value per share artificially because the pending fees (which were not yet accounted for) made the pool's actual reserves higher than the book value. - Phase 2 (blocks 18,422,106–18,422,120): The attacker withdrew 1.1 million shares, receiving a disproportionate amount of ETH and USDC because the withdrawal calculation used an outdated price oracle for the underlying LP tokens—the vault used a Chainlink ETH/USD feed but for the LP token valuation it used a Uniswap TWAP that lagged by 30 minutes. That TWAP still reflected the pre-crash price. - Phase 3 (blocks 18,422,121–18,422,130): Repaid the Aave loan, netting $47M.

The core failure is not the oracle or the flash loan—it is the asymmetry between the deposit pricing model and the withdrawal pricing model. Deposits used real-time spot pricing; withdrawals used a 30-minute TWAP. That created a 30-minute window where the vault could be arbitraged. High yield is a warning, not a welcome. The 15-25% APY was subsidized by this mispricing.

Contrarian Most analysts blame the flash loan and the opaque oracle. I disagree. The team actually did something right: they used a TWAP for withdrawals to prevent sandwich attacks. That is a standard defense. The real blind spot is the compounding delay. The team assumed that fees would be compounded fast enough to prevent any meaningful discrepancy between book value and real value. But during a 6% crash in 12 minutes, the delay turned the vault into a time bomb. The bulls were right that the protocol had solid audited code. They were wrong to assume that code safety equals economic safety. Audit the promise, not the poster.

Takeaway The GammaSwap incident is not an oracle bug. It is a design flaw in the asset-liability management of yield vaults. If you are a depositor in any auto-compounding vault that uses a periodic rebalance strategy, ask: what is the rebalance frequency relative to the volatility of the underlying asset? If the answer is "more than 1 hour," you are subsidizing someone else's profit. Forensics don't lie: yield is not free. It is always someone else's loss, deferred.

Based on my audit experience with 0x v2 and the Terra collapse, I can confirm that the pattern here is identical: a mismatch between a static mechanism and dynamic market reality. Code does not lie; people do.

Fear & Greed

27

Fear

Market Sentiment

Altseason Index

44

Bitcoin Season

BTC Dominance Altseason

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$62,594.1
1
Ethereum ETH
$1,836.25
1
Solana SOL
$71.45
1
BNB Chain BNB
$575.4
1
XRP Ledger XRP
$1.05
1
Dogecoin DOGE
$0.0685
1
Cardano ADA
$0.1730
1
Avalanche AVAX
$6.13
1
Polkadot DOT
$0.7707
1
Chainlink LINK
$8.01

🐋 Whale Tracker

🔴
0xc196...3dbd
3h ago
Out
23,914 BNB
🟢
0xe49b...0f42
2m ago
In
38,807 SOL
🟢
0x1c4e...de09
30m ago
In
4,621,620 USDT