WIP OToken Vault Oracles - #2953
Draft
naddison36 wants to merge 1 commit into
Draft
Conversation
naddison36
requested review from
clement-ux,
shahthepro and
sparrowDom
as code owners
July 29, 2026 08:50
naddison36
marked this pull request as draft
July 29, 2026 11:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds immutable Vault-backed price oracles for OETH, OUSD, and superOETHb.
Each oracle reports the value of one OToken in its Vault’s underlying asset:
Prices use 18 decimals and are exposed through:
price()latestAnswer()latestRoundData()getRoundData(1)The OToken address is resolved directly from the configured Vault to prevent mismatched Vault/token deployments.
Deployments
Ethereum Mainnet
OETH_VAULT_ORACLEOETH_VAULT_PROXY(0x39254033945AA2E4809Cc2977E7087BEE48bd7Ab)OETH / WETHOUSD_VAULT_ORACLEOUSD_VAULT_PROXY(0xE75D77B1865Ae93c7eaa3040B038D7aA7BC02F70)OUSD / USDCBase
OETHBASE_VAULT_ORACLEOETHBASE_VAULT_PROXY(0x98a0CbeF61bD2D21435f433bE4CD42B56B38CC93)superOETHb / WETHThe Foundry deployment scripts verify the Vault, OToken, description, decimals, version, and that the returned price is positive. No governance actions are required.
Behavior
1e18when Vault value and OToken supply are equal.1e18as unreleased yield accumulates between rebases.1e18if the Vault becomes insolvent and its assets are worth less than the outstanding OToken supply.Vault.totalValue()is normalized to 18 decimals.No data presentwhen OToken supply is zero.1; the price is calculated live rather than historically stored.Testing
Added concrete and fuzz coverage for:
Operational impact
The deployed oracle names and callable interface are not currently referenced by Talos actions. No curated action ABI, pinned address, or existing Hardhat deployment artifact requires updating in this PR.
Code Change Checklist