comet icon indicating copy to clipboard operation
comet copied to clipboard

Add wstETH collateral for cUSDCv3 Mainnet, cUSDCv3 Arbitrum, cWETHv3 Base

Open TheDZhon opened this issue 1 year ago • 0 comments

https://www.comp.xyz/t/temp-check-add-wsteth-as-a-collateral-on-base-eth-market-usdc-market-on-arbitrum-and-ethereum-mainnet/4867

  • [x] Add wstETH collateral to cUSDCv3 Mainnet
  • [x] Add wstETH collateral to cUSDCv3 on Arbitrum
  • [x] Add wstETH collateral to cWETHv3 on Base
  • [x] Add verify clauses
  • [x] Ensure that scenarios pass and simulate runs succeed

Gaunlet params recommendation: https://www.comp.xyz/t/temp-check-add-wsteth-as-a-collateral-on-base-eth-market-usdc-market-on-arbitrum-and-ethereum-mainnet/4867/12


:warning: The PR assumes that stETH=ETH for pricing purposes as it has been implemented and battle-tested for AAVE v3 markets; see the following thread: https://governance.aave.com/t/bgd-operational-oracles-update/13213/9

Update of the Aave v3 Ethereum, Optimism and Arbitrum CSPA feeds to be composed with wstETH/stETH and ETH/USD internal feeds, removing an intermediate stETH/ETH that was introducing undesired exposure to stETH secondary market price. (props to @Gauntlet for this suggestion on L2s, where the stETH/ETH feed is not available)

JFTR, stETH is redeemable to ETH via primary withdrawals market inside the Lido on Ethereum protocol

TheDZhon avatar Jan 19 '24 22:01 TheDZhon