Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrade type: PROXY CONTRACT UPGRADE
Affected file:
CompoundIntegration.sol
Proxy address:
0xd55684f4369040c12262949ff78299f2bc9db735
New version: 1.1
Description
Upgrades the Compound Integration, addressing some UX problems.
collectRewardToken
allows the mStable Governor to collect the$COMP
airdropsunderlying
causeswithdraw
to fail if the cToken and Underlying have different decimals. There is now logic to ensure that ifcTokensToRedeem == 0
, then just skip the redemptioncheckBalance
now just calculates using the exchangeRate, instead of spending 80,000 gas to check the balanceOfUnderlying. This massively reduces gas costs for deposits into the Savings ContractDeployment plan
CompoundIntegration v1.1
to Ropsten/MainnetproposeUpgrade
on theDelayedProxyAdmin
with implementation addressesMainnet Details
Deployed address:
0xd4c14e145111e28a7694612978b9f5e9684afffa
AcceptUpgrade date:
Ropsten Details
Deployed address:
0x4d6b9c28b3c420a0c70ea8bbe085349b73e444e1
AcceptUpgrade date: