3.3.0
This release improves how collateral plugins price LP tokens and moves reward claiming out to the asset plugin level.
Upgrade Steps
Swapout all collateral plugins with appreciation.
All collateral plugins should be upgraded. The compound-v2 ERC20 wrapper will be traded out for the raw underlying CToken, as well as aave-v3 USDC/USDCbC for canonical wrappers.
Core Protocol Contracts
BackingManager
+RevenueTrader
- Change
claimRewards()
to delegatecall to the list of registered plugins
- Change
Plugins
Assets
- aave-v3
- On mainnet: switch from one-off USDC wrapper to canonical USDC wrapper
- On base: switch from one-off USDbC wrapper to canonical USDC wrapper
- compound-v2
- Remove
CTokenWrapper
- Add reward claiming logic to
claimRewards()
- Emit
RewardsClaimed
event duringclaimRewards()
- Remove
- compound-v3
- Emit
RewardsClaimed
event duringclaimRewards()
- Emit
- curve
- Emit
RewardsClaimed
event duringclaimRewards()
- Emit
- convex
- Emit
RewardsClaimed
event duringclaimRewards()
- Add new
crvUSD-USDC
plugin
- Emit
- morpho-aave
- Emit
RewardsClaimed
event duringclaimRewards()
- Emit
- stargate
- Emit
RewardsClaimed
event duringclaimRewards()
- Emit
Trading
GnosisTrade
- Add
version()
getter
- Add
DutchTrade
- Add
version()
getter
- Add
Facades
FacadeMonitor.sol
- Update compound-v2 implemention to deal with with-wrappper and without-wrapper cases