SIGN IN SIGN UP

Add Genesis Vault staking pool to StakeWise yields adaptor (#2826)

* Add Genesis Vault staking pool to StakeWise yields adaptor

Adds the Genesis Vault (the protocol's main public vault) alongside the
existing osETH pool, using the public StakeWise V3 subgraph for vault APY
and total assets.

Genesis TVL nets out the osETH minted against the vault, which the osETH
pool already counts (~$195M today), so the pool reports only non-osETH-backed
stake. The subgraph exposes minted shares per allocator only, so they are
paged over with a bounded id cursor; if the pages run out the pool is
dropped rather than reported with an understated deduction.

Also fixes the osETH pool pricing its supply with the ETH price (osETH is
an appreciating token trading above ETH), guards an empty
AvgRewardPerSecondUpdated window that produced a NaN apy, and surfaces
subgraph errors instead of dropping them silently.

* Drop the Genesis pool instead of flooring a negative TVL to zero

---------

Co-authored-by: Mike Diamond <kadyr@stakewise.io>
M
Mike Diamond committed
97c34d62180fda05d875a35accdd4bd23dd05e6f
Parent: 2d64310
Committed by GitHub <noreply@github.com> on 8/12/2026, 2:50:16 PM