Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mattjurenka/morpho to 3.0.0 #853

Merged
merged 4 commits into from
Jul 18, 2023
Merged

Update mattjurenka/morpho to 3.0.0 #853

merged 4 commits into from
Jul 18, 2023

Conversation

jankjr
Copy link
Contributor

@jankjr jankjr commented Jun 22, 2023

No description provided.

@jankjr jankjr force-pushed the mattjurenka/morpho branch 6 times, most recently from 538da4e to b83cec2 Compare June 22, 2023 14:41
@tbrent
Copy link
Collaborator

tbrent commented Jun 22, 2023

Hmm, so I think (i) the wrapper ERC20 is unnecessary; and (ii) it would actually break rewards. Rewards have to be done from off-chain, which is fine, but in this case they would just accumulate to the wrapper ERC20 instead of the BackingManager/RevenueTrader. We can get rid of the wrapper ERC20 by moving the adjustExchangeRate() function into the refresh() of the plugin contracts.

The tasks are useful but we need deployment scripts too. The deployment scripts can use the task to do the deployment but the relevant thing is to commit to some set of constructor args, probably the same as the test suite but not necessarily. There's an example at scripts/deployment/phase2-assets/collaterals/deploy_flux_finance_collateral.ts.

common/configuration.ts Outdated Show resolved Hide resolved
@jankjr jankjr force-pushed the mattjurenka/morpho branch 2 times, most recently from 44f2b9b to 2450e68 Compare June 29, 2023 13:14
@jankjr jankjr force-pushed the mattjurenka/morpho branch 2 times, most recently from 502d8a7 to 526af73 Compare June 29, 2023 18:22
@tbrent
Copy link
Collaborator

tbrent commented Jun 29, 2023

@pmckelvy1 Jan's most recent update to RewardableERC20 seems like it handles rewards right to me, but you're more familiar than I am with this and should double-check me

Base automatically changed from 3.0.0-rc3 to 3.0.0 July 3, 2023 21:07
@jankjr jankjr force-pushed the mattjurenka/morpho branch 2 times, most recently from 6a1eaca to 84205c9 Compare July 13, 2023 17:14
@pmckelvy1 pmckelvy1 merged commit 9ee60f1 into 3.0.0 Jul 18, 2023
@pmckelvy1 pmckelvy1 deleted the mattjurenka/morpho branch July 18, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants