Is there a way to get on-chain through an Oracle the price of stkAAVE?

Expert

Is there a way to get on-chain through an Oracle the price of stkAAVE?
Noticed the Aave Oracle v2 (0xA50ba011c48153De246E5192C8f9258A2ba79Ca9) , returns correctly the price of AAVE (0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9) but not the price of stkAAVE (0x4da27a545c0c5B758a6BA100e3a049001de870f5) ( always 0). Is there a way to get on-chain through an Oracle the price of stkAAVE? Thanks!

Answers 1

Well aaveOracle returns price of assets that are listed in aave protocol markets. Now, as per aave protocol price of stkAave is same as Aave token because in the staking module you can go stkAave to Aave and vice-versa 1:1

There can be price difference for Aave and stkAave tokens on secondary markets (for eg. uniswap liquidity pool, if there is one) and you can get that price from the respective secondary market oracles