Post
Share your knowledge.
Is there a way to get on-chain through an Oracle the price of stkAAVE?
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!
- Aave Protocol
Answers
1Well 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
Do you know the answer?
Please log in and share it.
Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.
- Error "No matching key" when trying to unstake USDC on BNB chain32
- How to tell the code to, rather than "deposit 1 eth worth of WBTC" deposit "500$ worth of WBTC"?22
- How to interpret configuration field in a response from the getReserveData view function in Aave v2?21
- Getting a return value of '25 - INVALID BURN AMOUNT'21
- Is there any way to stake in the security module on Görli?23