defirisk.co
rubric v1.7.0

Oracle source = spot DEX pool (no TWAP)

Yearn Finance's assessment for RD-F-053 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

CRITICAL CHECK PASSED. V2 Vault.vy: pricePerShare derived from _shareValue(shares) = shares * freeFunds / totalSupply where freeFunds = token.balanceOf(self) + totalDebt - lockedProfit(). No DEX pool read, no slot0(), no getReserves(), no latestAnswer(). V3 VaultV3.vy: pricePerShare() returns _convert_to_assets(10**decimals, ROUND_DOWN) where _total_assets() = self.total_idle + self.total_debt. Confirmed oracle-free by raw source inspection. Strategy-level Chainlink feeds are inputs to strategy profit/loss accounting (not vault pricePerShare). No spot DEX price in vault share-price path.

Sources #

  • GitHub
    Yearn V3 VaultV3.vy raw sourceVaultV3.vy: pricePerShare() -> _convert_to_assets() -> _total_assets() = total_idle + total_debt; no oracle callretrieved 2026-05-16
  • GitHub
    Yearn V3 Technical SpecificationV3 TECH_SPEC.md: totalAssets composed of strategy-reported values only, no external price feedsretrieved 2026-05-16
  • GitHub
    Yearn V2 Vault.vy sourceV2 Vault.vy: _shareValue() = shares * freeFunds / totalSupply; totalAssets = token.balanceOf + totalDebt; no external oracleretrieved 2026-05-16

Methodology #

Determine whether the primary oracle for any asset/market reads spot price from a single DEX pool without a TWAP window or secondary source.

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol yearn-finance factor RD-F-053 score green collected_at 2026-05-16 08:34:32