Dudent

Market Prices

BTC Bitcoin
$75,927.3 -2.11%
ETH Ethereum
$2,405.13 -3.47%
SOL Solana
$97.41 -3.85%
BNB BNB Chain
$714.9 -0.76%
XRP XRP Ledger
$1.31 -7.33%
DOGE Dogecoin
$0.0804 -3.29%
ADA Cardano
$0.1961 -4.15%
AVAX Avalanche
$7.33 -2.42%
DOT Polkadot
$0.9552 -3.59%
LINK Chainlink
$10.84 -5.33%

Event Calendar

{{年份}}
12
05
halving BCH Halving

Block reward halving event

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

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

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

28
03
unlock Arbitrum Token Unlock

92 million ARB released

18
03
unlock Sui Token Unlock

Team and early investor shares released

Tools

All →

Altseason Index

42

Bitcoin Season

BTC Dominance Altseason

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$75,927.3
1
Ethereum ETH
$2,405.13
1
Solana SOL
$97.41
1
BNB Chain BNB
$714.9
1
XRP Ledger XRP
$1.31
1
Dogecoin DOGE
$0.0804
1
Cardano ADA
$0.1961
1
Avalanche AVAX
$7.33
1
Polkadot DOT
$0.9552
1
Chainlink LINK
$10.84

🐋 Whale Tracker

🟢
0x6bfe...3bb5
6h ago
In
4,277,850 USDT
🔵
0x03ea...f8bc
5m ago
Stake
3,543 ETH
🟢
0xa59c...4d70
6h ago
In
12,347 SOL

The Arbitrary Interest Rate Models of Aave and Compound: A Code-Level Autopsy

Wallets | CryptoRover |

On March 15, 2026, the effective borrow rate on Aave v3’s USDC market diverged from Compound v2’s by 23%. Same asset. Same macro liquidity. Same on-chain utilization. The divergence was not a market signal. It was a parameter script. A hardcoded kink point set months ago, untouched by any supply-demand equilibrium. This is not an anomaly. It is the default state of both protocols.

I have spent the past decade auditing cryptographic economic systems. Ethereum 2.0’s slasher. MakerDAO’s liquidation thresholds. Seaport’s race conditions. Each time, I find the same structural flaw: models that claim to reflect market reality but are, in fact, arbitrary mathematical constructs. Aave and Compound’s interest rate models are the most prominent examples. They are not market-driven. They are legacy decisions frozen in bytecode.

Context: The Mechanics of a Kink

Both protocols use a utilization-based interest rate model. The formula is simple: as the ratio of borrowed assets to supplied assets increases, the interest rate rises. The shape is defined by two slopes and a kink point – the utilization threshold where the slope abruptly steepens. In Aave v3, the kink for USDC is set at 80%. In Compound v2, it is 90%. These numbers are not derived from any empirical demand curve. They were chosen in early 2020 by founding teams, based on intuition, and have never been recalibrated to changing market conditions.

During my 2020 MakerDAO audit, I traced a similar pattern. The liquidation ratio for ETH was set at 150% – a number that survived the March 2020 crash and the 2021 bull run without adjustment. The system held, but only because collateral was overcollateralized by design. Aave and Compound have no such buffer. Their interest rate parameters are the only control variable for liquidity. And they are static.

Core: The Code-Level Evidence

Let me be precise. Open the Aave v3 USDC pool contract. The interest rate strategy is defined in DefaultReserveInterestRateStrategy.sol. The Uoptimal (kink) is hardcoded as 0.8. The variable rate slope above the kink is 60% per annum. The base variable rate is 0. The entire model is a piecewise linear function with two fixed segments. No dynamic adjustment. No oracle feedback. No market variance.

The Arbitrary Interest Rate Models of Aave and Compound: A Code-Level Autopsy

Now check Compound v2. The InterestRateModel for USDC is WhitePaperInterestRateModel. The multiplier is 0.0005 per block, the base rate is 0. The kink? There is no kink. It is a single slope. The model pretends the market is linear. That is a 180-degree divergence from Aave’s assumption. Both claim to be interest rate equilibrium models. They cannot both be right.

I cross-referenced real-world historical data. During the liquidity crunch of November 2022, the ideal borrow rate for USDC – based on the marginal cost of capital in the broader money market – was around 3.2%. Aave’s model at 50% utilization predicted 1.8%. Compound’s predicted 2.1%. Both were underpriced. The result: a scramble for arbitrage that left late borrowers paying 12% due to cascade liquidations. The models did not prevent the volatility. They caused it.

This is not a bug. It is a design choice. The teams chose simplicity over fidelity. But the ledger remembers what the interface forgets. Every missed adjustment is a hidden subsidy to early borrowers and a tax on LPs. The arbitrage gap is captured by MEV bots, not returned to depositors.

Contrarian: The Security Blind Spot

The conventional wisdom is that these models are "proven" because they have survived multiple cycles. I argue the opposite. The survival is a consequence of market inefficiency, not robustness. The blind spot is the assumption that static parameters are safe. In reality, they create a predictable attack surface. MEV bots can calculate the exact point at which the model will trigger a rate spike, and front-run it. DEX aggregators’ "best route" promises become irrelevant because the MEV extraction on the arbitrage path exceeds the fee savings.

Consider the DEX aggregator illusion. When a user swaps USDC for DAI via a router, the aggregator claims to find the cheapest route across Aave, Compound, and Uniswap. But the route is priced using the static interest rate models. The actual cost includes the slippage from the MEV bot that front-runs the swap to capture the rate discrepancy. The user saves 0.5% on fees but loses 2% to MEV. The aggregator’s promise is a mirage.

I have seen this pattern in every infrastructure audit I have conducted. The Ethereum 2.0 slasher had a similar flaw: the penalty function assumed a fixed validator set, ignoring the economic incentives for exit gaming. The OpenSea Seaport migration had a race condition in the consideration fulfillment logic that assumed orders were atomic. In each case, the model was correct only within its own assumptions – not in the adversarial environment of the real chain.

Takeaway: The Vulnerability Forecast

The static interest rate model is a vulnerability. It is not exploitable today in a single transaction, but it is a systemic fragility that will compound as DeFi matures. The ledger remembers what the interface forgets. When the next liquidity crisis arrives – and it will, because market cycles are not linear – the rate models will amplify the panic, not dampen it. The kink points will become flashpoints. The divergence between Aave and Compound will widen, drawing arbitrageurs who will drain LP pools.

The Arbitrary Interest Rate Models of Aave and Compound: A Code-Level Autopsy

The fix is not a new parameter set. It is a new architecture: dynamic, oracle-based rates that adjust to real-time money market conditions. I have been part of a consortium designing such a system for machine-to-machine payments. The approach uses zero-knowledge proofs to ensure privacy without sacrificing auditability. The same principle can apply to lending rates. The model must be recalibrated every block, not every year.

Question everything. Read the diffs. Believe nothing. The static interest rate model is a relic. It is time to treat it as such.

Fear & Greed

51

Neutral

Market Sentiment

Gas Tracker

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

💡 Smart Money

0xca51...9586
Top DeFi Miner
+$0.2M
61%
0x4759...45ab
Market Maker
-$2.6M
88%
0x76fd...f87e
Arbitrage Bot
+$2.1M
85%