[WOOF!] Correlated-Assets Price Oracle (CAPO)

Update price feeds to CAPO in cUSDCv3 and cWETHv3 on Linea

PR - CAPO for cUSDCv3 and cWETHv3 on Linea by MishaShWoof · Pull Request #1061 · compound-finance/comet · GitHub
PR(woof) - CAPO for cUSDCv3 and cWETHv3 on Linea by MishaShWoof · Pull Request #260 · woof-software/comet · GitHub
Proposal - Tally | Compound | Update price feeds in cUSDCv3 and cWETHv3 on Linea with CAPO implementation.

Recommendations

The recommendations provided by Gauntlet

Symbol r sigma_r r_upper
ezETH 3.92% 3.15% 7.07%
wstETH 3.61% 0.43% 4.04%
weETH 2.95% 0.28% 3.23%
rsETH 3.57% 1.97% 5.54%
osETH 2.84% 0.26% 3.10%
rETH 2.66% 0.24% 2.90%
rswETH 3.27% 1.63% 4.90%
ETHx 2.88% 0.52% 3.40%
sFRAX 4.51% 0.44% 4.95%
wUSDM 4.53% 0.41% 4.94%
mETH 3.09% 0.82% 3.91%

Actions

Action name Link Status
1 Run Slither Link Success
2 Run Forge Tests Link Success
3 Run Tests With Gas Profiler Link Success
4 Run Semgremp Link Success
5 Run Scenarios (linea-usdc) Link Success
6 Run Scenarios (linea-weth) Link Success
7 Run Unit Tests Link Success
8 Run ESLint Link Success
9 Run Contact Linter Link Success
10 Run Prepare Link Success
11 Run Enact impersonate Link Success
12 Tenderly Simulation (mainnet) Link Success
13 Tenderly Simulation (linea) Link Success
14 Run Enact (by delegator) Link WIP

Artifacts

Name Value
1 Migration name 1761833037_upgrade_to_capo_price_feeds
2 Branch name woof-software/capo-for-linea
3 Prepare id 19371222738
4 Network linea
5 Deployment usdc

Price feeds

Name Address Route
1 wstETH 0x0746928E47f858944D189996829Ca711f64461a7 wstETH / stETH → ETH / USD (we consider stETH / ETH as 1:1)
2 wstETH 0xF1cEe2A82Cc42246c8C38253f118AbB6cAAd715B wstETH / stETH (we consider stETH / ETH as 1:1)
3 ezETH 0x13933885C9A392Ce73f396707EC61f30a8b05e37 ezETH / ETH
4 wrsETH 0x8D50B433C0Dcf3636c29695122464Df5deb37eDc wrsETH / ETH
5 weETH 0xfd5282968119c348C1E47fBCaDD13069d9857Bf2 weETH / eETH (we consider eETH / ETH as 1:1)

Description

Update price feeds in cUSDCv3 and cWETHv3 on Linea with CAPO implementation.

Proposal summary

This proposal updates existing price feeds for wstETH on the USDC and WETH markets and ezETH, wrsETH, and weETH on the WETH market on Linea.

CAPO summary

CAPO is a price oracle adapter designed to support assets that grow gradually relative to a base asset - such as liquid staking tokens that accumulate yield over time. It provides a mechanism to track this expected growth while protecting downstream protocol from sudden or manipulated price spikes. wstETH, ezETH, wrsETH, and weETH price feeds are updated to their CAPO implementations.

Further detailed information can be found on the corresponding proposal pull request and forum discussion for CAPO.

CAPO audit

CAPO has been audited by OpenZeppelin, as well as the LST / LRT implementation here.

Proposal actions

The first action updates wstETH, ezETH, wrsETH, and weETH price feeds to the CAPO implementation. This sends the encoded ‘updateAssetPriceFeed’ and ‘deployAndUpgradeTo’ calls across the bridge to the governance receiver on Linea.