Proposal to update oracle for CappedB_stETH_STABLE
Overview
The oracle for CappedB_stETH_STABLE must be updated to account for reduced liquidity in the pool.
Parameters
Token Address: 0x32296969Ef14EB0c6d29669C550D4a0449130230 Capped Token address: 0x7d3CD037aE7efA9eBed7432c11c9DFa73519303d Depricated Oracle: 0xD6B002316D4e13d2b7eAff3fa5Fc6c20D2CeF4be Updated Oracle: 0xD26567E51Be02B3c835fD57b30d461a029e3986b
Detailed Description
While there is still sufficient liquidity in the pool (~600 wsteth / ~700 weth), these numbers are about a third of what was in the pool at the time of the original proposal.
As liquidity in the pool has declined, the existing oracle is no longer functional, effectively freezing this asset for the time being.
Before going into why this is the case, let’s briefly recap how the BPT oracle functions.
In short, the oracle simulates a transaction on the pool, and compares the resulting exchange rate to what it ought to be based on external price oracles for the underlying assets. This is because the exchange rate can be easily manipulated, but manipulation can be easily detected if compared to external price oracles. If the two exchange rates do not agree within a tight buffer, then the oracle simply reverts in order to prevent manipulation. More info on the inner workings can be found in the technical writeup below
This simulated swap on the pool should have a sufficiently large input amount in order to account for slippage.
The existing oracle has a hard coded amount for this input value, which has become too high as liquidity has declined, such that the simulated swap has too great a price impact to be within the expected range.
This updated oracle solves this problem, with a new dynamic input amount that will always be 1% of the balance of token 0 in the pool, as token 0 is used as the input token in the simulated swap.
With this new oracle, the exchange rate returned is within 0.5% of the what is expected based on the external oracles.
Relevant References
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0x5fee...c86558 | 4.193M | FOR |
0xd3e3...F32Dd7 | 1.153M | FOR |
Diego Ortiz | 941,145 | FOR |
0x3FB1...2d4C8A | 881,486 | FOR |
DAOplomats | 100,000 | FOR |
VOTE POWER
Proposal Status
- Sat January 20 2024, 04:04 pmVoting Period Starts
- Fri January 26 2024, 08:04 amEnd Voting Period
- Tue April 23 2024, 10:19 pmQueue Proposal
- Wed May 01 2024, 10:12 pmExecute Proposal
Current Results
1-FOR
7.268M
2-AGAINST
N/A Tokens
3-ABSTAIN
N/A Tokens
