comet
comet copied to clipboard
Mainnet WETH Deployment
~~WIP~~ Ready for review now.
Changes made in preparation for launching a ~~mainnet/ETH~~mainnet/WETH deployment.
- adds
mainnet-wethscenario base - adds configuration for
mainnet/wethdeploy withwstETHandcbETHas collateral assets - adds a
WstETHPriceFeed.solcontract that calculates thewstETH / USDprice using thestETH / USDprice feed and the value ofwstETH:stETH - updates scenarios to work with ETH-based markets, where possible
- adds a
matchesDeploymentfilter to allow for scenarios that specifically target (or avoid) themainnet-wethdeploy - adds a
getRewardTokenfn to context, to allow retrieving the reward token even when it is not a collateral asset
Remaining todos before we can launch:
- [x] set the supply caps back to 0
- [x] replace the
cbETHprice feed with the actual ChainlinkcbETH / USDprice feed (when it's available) - [x] decide on actual configuration params
- [ ] get OZ audit on
WstETHPriceFeed.sol - [ ] launch a new version of the Liquidator Bot for
mainnet/eth - [x] deploy new Bulker (#611)
For setting the supply caps from 0, we need a separate migration w/ a proposal. For USDC we also seeded reserves, not sure if we want to try to do that here. Doing rewards after I think makes sense
- [x] We also need to make the name consistent everywhere (cWETHv3)