protocol-subgraphs
protocol-subgraphs copied to clipboard
Investigate oracle interface
Investigate why the Chainlink EACAggregator mappings are not working for some assets, and see if there is a general workaround:
wsteth, reth, cbeth, wbtc for ethereum v3 wsteth for arbitrum v3 savax on avalanche none on optimism/polygon
{
reserves(first: 20,
where:{price_:{priceInEth:0}}) {
id
symbol
price {
id
priceInEth
}
}
}
Concerns Synchronicity Price Adapters used as asset sources in AaveOracle.
There is no Chainlink price feed for these adapters. The Aave V3 subgraph seems to rely on the AnswerUpdated(indexed int256,indexed uint256,uint256) events of the AccessControlledAggregator contracts to populate its prices.
Other examples include WBTC, wstETH, and WETH on Arbitrum V3
{
reserves(where: {symbol_in: ["WETH", "WBTC", "wstETH"]}) {
symbol
price {
priceInEth
}
}
}