SIGN IN SIGN UP

origin-ether: fix TVL, measure APY on-chain, drop superOETHp (#2890)

TVL came from vault.totalValue(), which counts the OToken the vault's own AMO
strategies mint into Curve/Aerodrome pools -- protocol-owned liquidity, not
depositor funds. That put superOETHb at ~$29M against ~$19M of holder-owned
backing. It now reads Origin's protocolDailyStatDetails.tvl, which is already
net of it.

That figure is deliberately not Origin Ether's protocol TVL on DefiLlama, which
on Base additionally drops the bridged wOETH strategy because that backing is
already counted on Ethereum. Netting it out is right for protocol TVL and wrong
for pool size: the bridged wOETH is precisely what backs superOETHb holders'
balances.

APY is now measured on-chain from rebasingCreditsPerTokenHighres over 7d, in a
helper shared with the other origin-* adaptors. The squid's apy7DayAvg reads
~0.2pp low because it includes the in-progress day, annualised over a full day
regardless of how much of it has elapsed.

superOETHp is dropped -- the Plume product is retired. Smaller fixes: apyBase
rather than apy, a per-pool url (there was none), and hardcoded chain names
instead of capitalizing the sdk chain key.
C
Chris committed
0134b86f5d7e3f3650d136dcd47849d2cb362f22
Parent: 7f09ca4
Committed by GitHub <noreply@github.com> on 8/7/2026, 10:58:46 AM