Skip to content

Conversation

@totomanov
Copy link
Contributor

CrossAdapter prices a pair by calling through an intermediate oracle.

For example, to price wstETH/USD, CrossAdapter may price wstETH/stETH and then stETH/USD. Another common one is WBTC/USD decomposed into two Chainlink feeds: WBTC/BTC and BTC/USD.

I thought about supporting cross pricing with 3 legs, however I could not come up with examples for pairs that would need that. Only reason is a vault using a non-standard reference asset, but that is too esoteric to make it in scope

@totomanov totomanov merged commit 6807a51 into master Mar 25, 2024
@totomanov totomanov deleted the multi-adapter branch March 25, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants