Update xSushi price feed on Aave V2
01Summary
Replace the custom xSushi price feed on Aave V2 Ethereum with Chainlink's calculated oracle to reduce gas costs, improve technical support, and eliminate on-chain manipulation risks. Historical comparison shows price differences within acceptable 2% deviation.
- Type
- parameter change
Key changes
- Replace xSushi price feed from custom oracle (0x9b26214bEC078E68a394AaEbfbffF406Ce14893F) to Chainlink's calculated oracle (0xF05D9B6C08757EAcb1fbec18e36A1B7566a13DEB)(high)
- Move price calculation from on-chain to off-chain for improved gas efficiency(medium)
- Eliminate potential on-chain manipulation risks for xSushi pricing(medium)
Notable concerns
- Historical feed comparison shows 19.49% of results have 1-2% price differences between current and new feed
- Current custom feed and Chainlink feed both have 2% price deviation
- xSushi is currently not enabled for borrowing on Aave V2
Generated by Kvorum
02Description
Simple Summary
This proposal changes the current price feed for xSushi (adapter) to a Chainlink calculated oracle, on Aave V2 Ethereum.
Motivation
Currently, a custom price feed is used for xSushi, which calculates the price based on SUSHI / ETH oracle and SUSHI / xSUSHI ratio on-chain. It is more effective in terms of technical support and gas cost to use the feed deployed by Chainlink, which does this calculations off-chain. In addition, any risk of on-chain manipulation, even if not applicable at the moment with the asset not enabled for borrowing, gets removed.
Specification
Upon execution the proposal will:
- call
ORACLE.setAssetSources(0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272, 0xF05D9B6C08757EAcb1fbec18e36A1B7566a13DEB)to replace the price source for xSushi
Security and additional considerations
To have extra assurances on the feed swap, we did the following:
- Historical Feeds Comparison: Comparing the answers from the current feed with the new one for the last year with a 2-hour step gave the following results:
- 24.88% of results differ for less than 0.1%
- 55.63% have between 0.1% and 1% difference
- 19.49% is between 1% and 2%
Price deviation for both feeds is 2%, which means that the price difference is withing the norm.
References
Contracts
Copyright
Copyright and related rights waived via CC0.
03Mismatch analysis
A calldata-vs-description analysis is not generated yet. Review the decoded actions →
04Actions
- Target
- 0x3105…f211
- Value
- 0 wei
- Function
- fallback()
- Arguments
{}- Calldata
05Tally
Summed from votes
06Voters
No votes recorded yet.
07Forum
No forum thread is confidently linked to this proposal.
08Similar proposals
- aaveexecutedPrice feeds operational update73%
- aaveexecutedPrice feeds operational update Pt2 - stETH72%
- aaveexecutedMKR and USDtb oracle adjustments72%
- aaveexecutedUpdate USDG Price Feed on Aave V3 Instances71%
- aaveexecutedAlter mUSD Oracle Price Implementation70%
- aaveexecutedUpdate PriceOracleSentinel68%
- aaveexecutedSet Price Cap Adapters for Aave V268%
- aaveexecutedFixed REP price feed on AAVE v167%
- aaveexecutedEnable SVR V1 on Aave V3 Ethereum67%
- aaveexecutedSet Price Cap Adapters (CAPO)65%