- Title: Change stETH pricing to Chainlink and amend the interest rate model
- Author(s): Seraphim Czecker (delegate)
- Submission Date: 23.08.2022
Proposal includes changing the stETH oracle on Euler from Uniswap V3 to Chainlink and amending the interest rate model to take into account borrowing activity.
The goal of the proposal is to pave the way for stETH as collateral on Euler by giving stETH a reliable pricing feed (1) and letting lenders earn both staking rewards and APYs paid by borrowers (2).
At the moment, the wrapped version of stETH (wstETH) is collateral and can be effectively used to go levered long and short on Lido’s staked version of ETH.
However, the more popular unwrapped version of stETH does not have a strong oracle on Uniswap V3 because Uniswap does not support rebasing tokens. This is why Chainlink is necessary and finally possible after implementing eIP14.
Similarly, the interest rate model needs changing due to the nature of rebasing tokens. In the case of wstETH, the wstETH/WETH exchange rate increases in time, meaning that wstETH borrowers’ debt to lenders automatically increases as the exchange rate goes up. This means that lenders don’t miss out on staking rewards as the borrower’s debt takes them into account.
That, however, is not the case with stETH. At the moment, should a user borrow stETH on Euler, the borrower will be entitled to the rewards of the borrowed tokens. Any unborrowed tokens in the pool will accrue to lenders.
The new interest rate model seeks to correct that by amending the base interest rate (IR% at 0% utilisation) to the staking reward APY. This way, the borrowers will be paying the lenders whatever they owe in terms of staking rewards.
The Chainlink oracle change has undergone auditing by Omniscia:
It has also been reviewed by Sherlock:
Here is the snapshot link to vote:
These changes will enable lenders to maintain their rewards while earning additional APYs from borrowers, while relying on a tried and tested Chainlink oracle. They will also pave the way for listing stETH as collateral and hopefully let Euler attract more liquidity and activity.
IR model github links:
eIP 14 (Chainlink):