Releases: morpho-org/morpho-v1-optimizers-vaults
Releases · morpho-org/morpho-v1-optimizers-vaults
SupplyVault upgrade v1.4.0
Major changes
- Make vaults more gas efficient. Some variables will be set to immutable to avoid reading the storage at each interaction with a vault.
- Make the redistribution of rewards more secure and maintainable. After this upgrade, the DAO would no longer need to specify the amount and the recipient to transfer $MORPHO rewards from a vault to the vault rewards distributor 2. The recipient of the rewards will be set, at construction time, to the vault rewards distributor. All $MORPHO tokens held in a vault can be then transferred to the rewards distributor through a public function transferRewards to the recipient. The DAO’s multisig can still trigger the function, but any EOA can also trigger it to accelerate the process.
Deployments
- Compound
SupplyVault
implementation: 0x07b7319aaf04f8a28c74fd5ca3ec01aa4af66069 - Aave
SupplyVault
implementation: 0x86d61e37f68194b55d7590c230077e0f8607f563
What's Changed
- 🧑💻 (#160) Add virtual keyword by @MerlinEgalite in #190
- Move deployer interface by @MerlinEgalite in #188
- Remove safecast by @MerlinEgalite in #189
- Fix/test transfer tokens by @pakim249CAL in #192
- Optimize rewards index by @pakim249CAL in #184
- Remove useless comment by @pakim249CAL in #197
- Simplify rewards index computation by @pakim249CAL in #196
- Remove redundant zero address check by @pakim249CAL in #183
- Refactor/aave v3 loop opti by @pakim249CAL in #182
- Make rewards manager immutable in aave v3 vault by @pakim249CAL in #181
- Refactor init by @MerlinEgalite in #187
- Refactor interfaces by @MerlinEgalite in #199
- Rework reward accruing by @pakim249CAL in #191
- Test/on behalf by @pakim249CAL in #186
- Fix rewards aave v3 by @MerlinEgalite in #158
- Fix/style and comments 163 by @pakim249CAL in #198
- Fix foundry-storage-check interface bug by @Rubilmax in #208
- Added formerly breaking tests for deposit/mint/withdraw/redeem by @Rubilmax in #138
- Refactor transfer scope by @MerlinEgalite in #201
- Perf: Refactor/v3 ray by @MathisGD in #213
- Remove harvest vaults by @MerlinEgalite in #218
- 🔥 Remove unsiwap package by @MerlinEgalite in #219
- Refactor/v3 ray by @pakim249CAL in #212
- Make the CI fail when a test fails by @Rubilmax in #221
- Update storage layout snapshots by @Rubilmax in #222
- Fix aave-v3 supply vault tests by @Rubilmax in #223
- Bumped CI by @Rubilmax in #225
- Fix/aave v3 vault transfer accrue by @pakim249CAL in #210
- Fix/outdated indexes by @pakim249CAL in #224
- Update foundry-gas-diff by @Rubilmax in #229
- Remove claimRewards double call by @Rubilmax in #228
- Set valid SPDX license identifier by @Rubilmax in #235
- refactor: recipient as immutable by @MerlinEgalite in #233
- Make transfer rewards public by @MerlinEgalite in #232
- Update licenses by @MerlinEgalite in #238
- Resolve conflicts upgrade 0 by @MerlinEgalite in #237
- Refactor pessimistic audit by @MerlinEgalite in #240
- Docs: remove useless comment by @MathisGD in #242
- Fix live tests by @MerlinEgalite in #243
- docs: update readme with new implementation addresses by @julien-devatom in #244
- Upgrade 0 by @MerlinEgalite in #193
- Add pessimistic audit by @MerlinEgalite in #245
New Contributors
- @MathisGD made their first contribution in #213
- @julien-devatom made their first contribution in #244
Full Changelog: v1.3.4...v1.4.0
v1.3.4 Update of Compound vaults transfer accrual
Major changes
- Patch transfer accrual of rewards
Deployment Addresses
- SupplyVault implementation: 0xbc49c0f652dac4dbc90ee97d71b66a1bf228f66f
What's Changed
- 🔧 Set optimizer runs to higher value by @MerlinEgalite in #148
- Add CI codecov coverage upload by @Rubilmax in #202
- Transfer accrue by @MerlinEgalite in #206
Full Changelog: v1.3.3...v1.3.4
v1.3.3 Update of Compound vaults
Major Changes
- Update rewards to the correct user when withdrawing to another account than the caller.
Deployments
- SupplyVault Implementation: 0x7b76e747667392234d7af94f9d084eb4c5cb73eb
What's Changed
- Prepare compound supply vault redeployment by @pakim249CAL in #149
- Added storage checks by @Rubilmax in #155
- Correct accruing of rewards in edge case by @MerlinEgalite in #152
Full Changelog: v1.3.2...v1.3.3
v1.3.2 Compound Deployment
Release Notes
This is the first major release of the Compound Vaults for public use.
Deployed Contracts
- mcDAI: 0x8F88EaE3e1c01d60bccdc3DB3CBD5362Dd55d707
- mcWETH: 0x676E1B7d5856f4f69e10399685e17c2299370E95
- mcCOMP: 0xaA768b85eC827cCc36D882c1814bcd27ec4A8593
- mcUNI: 0x496da625C736a2fF122638Dc26dCf1bFdEf1778c
- mcUSDC: 0xba9E3b3b684719F80657af1A19DEbc3C772494a0
- mcUSDT: 0xC2A4fBA93d4120d304c94E4fd986e0f9D213eD8A
- mcWBTC: 0xF31AC95fe692190b9C67112d8c912bA9973944F2
- Implementation: 0x7c24CcA32d6810786EF6700f95322a133f636aFF
v1.3.1 Deployed Version
Major Changes
- Fix
OwnableUpgradeable
initialization
What's Changed
- Refactor/deploy script by @pakim249CAL in #144
Full Changelog: v1.3...v1.3.1
v1.3 Pre audited version by Omniscia
Major changes
- Allow the DAO to transfer rewards tokens
- Various optimization
What's Changed
- Add interfaces by @MerlinEgalite in #103
- Readme update + audit by @MerlinEgalite in #104
- 📝 fix bullet list by @MerlinEgalite in #105
- AGPL License by @MerlinEgalite in #111
- Updated some setup naming by @Rubilmax in #114
- Add live tests for aave v2 and compound by @pakim249CAL in #99
- Refactor vaults by @MerlinEgalite in #116
- Transfer tokens and safe transfer by @MerlinEgalite in #121
- Make some variables immutable by @Rubilmax in #120
- Added receiver argument to harvest by @Rubilmax in #119
- 💚 Avoid live testing for now by @MerlinEgalite in #122
- Change script to redeploy compound vaults by @pakim249CAL in #124
- 🧑💻 Place gaps at the right place by @MerlinEgalite in #133
- ⚡️ Come back to solmate safe transfer lib by @MerlinEgalite in #137
- Most up to date indexes by @MerlinEgalite in #136
- Refactor pool indexes by @MerlinEgalite in #135
Full Changelog: v1.2...v1.3
Aave V2 Deployed
Deployed addresses
Compound Supply Vaults
- Implementation 0xa43e60f739d3b5afddb317a1927fc5bdac751a57
- DAI 0xd99d793b8fdae42c1867293c172b9cbbd3ea49ff
- USDC 0x125e52e814d1f32d64f62677bffa28225a9283d1
- WETH 0x681e90da7ee982e8fd3d0cbd2fad6726abd7f112
- USDT 0x54dbe0f95df628217c418f423d69aa70227cf9cc
- WBTC 0x9aca9579b797a9fa14656b3234902374c77600d3
- COMP 0xb2f76f3ef9bcf4d2b888fc185529648c04c58956
- UNI 0x8ebb1e7cc4ef6d7ca444401fa8f900db7a6d17c3
Compound Supply Harvest Vaults
- Implementation 0x301ef488d67d24b2cf4ddbc6771b6fed3cc4a2a6
- DAI 0x5cbead740564a2173983e48f94f36357c1954eae
- USDC 0xaf7ddc2e19248fe4e400abc052162f146791745f
- WETH 0x876b61f9f20bc1d8f87728e581c3b96c2efa20df
- USDT 0x182971cd346b87d9f99712e3030290f4ddc664d3
- WBTC 0xbb61dce011f8d66bcca212a501eb315a563f965e
- COMP 0xf46e39b6b1d2512501bc6d480433ebd1f7e6594d
- UNI 0x41b29cbbf65f6a1a19a516a466fe5f3bd0453d80
AAVE Supply Vaults
- Implementation 0x65663ee4cc7c9c494802e7f10cbbd710d3f1fe95
- DAI 0x3a91d37bac30c913369e1abc8cad1c13d1ff2e98
- WETH 0x762fafa0257cd3b697e0d7fd40f1f6c03f07a8ef
- CRV 0x963311ebb58043755a33bc3de4be8b492fda66d0
- USDT 0x1926bb3977336fd376be0aee2915406a904e5870
- USDC 0xd45ef8c9b9431298019fc15753609db2fb101aa5
- WBTC 0xa59d6996bdbfaef7b64eee436e5326869c9d8399
What's Changed
- Deployment Script by @pakim249CAL in #89
- Feat Aave v2 by @pakim249CAL in #93
- 💚 Fix ci by @MerlinEgalite in #96
Full Changelog: v1.1...v1.2
Omniscia Audit
Audit
What's Changed
- fix memory assignment for compound vault by @pakim249CAL in #92
Full Changelog: v1.0...v1.1
Omniscia Audit Draft
What's Changed
- 💚 Update CI config by @Rubilmax in #63
- 🎨 Improve constant readability by @Rubilmax in #64
- Gas optimizations and fix stack too deep by @MerlinEgalite in #69
- ⚡️ Improved harvest gas efficiency by @Rubilmax in #66
- 🐛 Safe cast everything by @Rubilmax in #65
- Refactor imports by @MerlinEgalite in #79
- ♻️ (#77) Move ownable contract where required by @MerlinEgalite in #78
- Remove rewards controller by @MerlinEgalite in #74
- Remove comptroller by @MerlinEgalite in #75
- Fix sanitization by @MerlinEgalite in #72
- 🧑💻 (#80) Rename SupplyVautUpgradeable to SupplyVaultBase by @MerlinEgalite in #81
- 📌 (#83) Pin
morpho-contracts
dependency by @MerlinEgalite in #84 - Gas opti by @MerlinEgalite in #82
- Dev by @MerlinEgalite in #68
Full Changelog: omniscia-pre-audit...v1.0
Omniscia Pre-Audit
Merge pull request #34 from morpho-labs/dev Dev