Releases: morpho-org/morpho-optimizers
Releases · morpho-org/morpho-optimizers
v2.2.0 Indexes caching upgrade
What's Changed
- Move to foundry-docs-aws by @Rubilmax in #1659
- refactor(ci): use of OpenID Connect by @julien-devatom in #1660
- fix: removing useless lines by @Tristan22400 in #1664
- Fix indexes caching issue by @MathisGD in #1666
Deployment
- Morpho-AaveV2 InterestsRatesManager: 0xf8486bAAAaEfe895ceEe2DB56D8007BD29B19E50
- Morpho-Compound InterestsRatesManager: 0x439966FC0b6fae8dEa7672A295d5b28002BF4DA8
- Morpho-Compound Lens implementation: 0x9e2342d94d23c2b2718c16209fd66ec213bfa46a
New Contributors
- @Tristan22400 made their first contribution in #1664
Full Changelog: v2.1.0...v2.2.0
v2.1.0 Morpho Upgrade
Deployment addresses
Morpho-Compound Ethereum
- Morpho Implementation: 0xe3d7a242614174ccf9f96bd479c42795d666fc81
- PositionsManager: 0x79a1b5888009bB4887E00EA27CF52551aAf2A004
- InterestRatesManager: 0xD9B7209eD2936b5c06990A8356D155c3665d43Ab
- RewardsManager Implementation: 0x581c3816589ad0de7f9c76bc242c97fe96c9f100
- Lens Implementation: 0x834632a7c70ddd7badd3d21ba9d885a9da66b0de
- Lens Extension: 0xc5c3bB32c70d1d547023346BD1E32a6c5BC7FD1e
- CompRewardsLens: 0x9e977f745d5ae26c6d47ac5417ee112312873ba7
Morpho-Aave-V2 Ethereum
- Morpho Implementation: 0xFBc7693f114273739C74a3FF028C13769C49F2d0
- EntryPositionsManager: 0x029Ee1AF5BafC481f9E8FBeD5164253f1266B968
- ExitPositionsManager: 0xfd9b1Ad429667D27cE666EA800f828B931A974D2
- InterestRatesManager: 0x22a4ecf5195c87605ae6bad413ae79d5c4170ff1
- Lens Implementation: 0x4bf26012b64312b462bf70f2e42d1be8881d0f84
What's Changed
- Cache storage pointers in enter/leave market if needed by @QGarchery in #1527
- Silence unused return variables by @Rubilmax in #1548
- Fix natspec (Spearbit #52) by @pakim249CAL in #1553
- Move liquidation computation (Spearbit #27) by @pakim249CAL in #1544
- Remove rewards manager setter (Spearbit #23) by @pakim249CAL in #1538
- Small fixes by @QGarchery in #1530
- Refactor remove unused structs by @MerlinEgalite in #1557
- Remove everything rewards-related on Morpho-AaveV2 (Spearbit #47) by @Rubilmax in #1545
- Rename liquidation threshold value (Spearbit #30) by @pakim249CAL in #1547
- Remove set as collateral (Spearbit #25) by @pakim249CAL in #1542
- Update liquidity data naming by @Rubilmax in #1559
- Remove unused config by @pakim249CAL in #1599
- Add zero amount check to liquidate by @pakim249CAL in #1596
- Add supply and borrow check for isFrozen by @pakim249CAL in #1601
- Add Compound error return (Spearbit #33) by @pakim249CAL in #1550
- Improve units comments by @Rubilmax in #1604
- Merge
main
toupgrade-morpho-1
by @Rubilmax in #1612 - Refactor
InterestRatesManager
to useInterestRatesModel
(Spearbit #22) by @Rubilmax in #1537 - Add checks for deprecate and borrow pauses (Spearbit #37) by @pakim249CAL in #1551
- Refactor/remove compound math contracts by @pakim249CAL in #1521
- chore: remove compound lib by @pakim249CAL in #1615
- Reference branch
upgrade-morpho-1
ofmorpho-data-structures
until next upgrade by @Rubilmax in #1613 - Set valid SPDX license identifier by @Rubilmax in #1618
- chore: remove useless file by @MathisGD in #1619
- Merge
main
intoupgrade-morpho-1
by @Rubilmax in #1620 - Update lib/morpho-data-structures by @Rubilmax in #1627
- 🔥 (#1565) Remove incentives vault from Compound by @MerlinEgalite in #1623
- chore: fix licence identifier by @MathisGD in #1626
- refactor: remove supply and borrow guard by @pakim249CAL in #1629
- Only match delta in Lens if p2p enabled by @Rubilmax in #1633
- Export script by @QGarchery in #1611
- Sync main into upgrade-morpho-1 by @QGarchery in #1635
- Gas optimisation by @spalen0 in #1638
- chore: add
allMarkets
to Comptroller interface by @MathisGD in #1639 - Consider impact on pool rates when calculating future rates by @Rubilmax in #1636
- Remove useless files by @MathisGD in #1640
- Resolve conflicts by @MerlinEgalite in #1641
- Fix pausing and deprecation by @MerlinEgalite in #1642
- Add autogenerated documentation by @julien-devatom in #1647
- Fix typo in TestRepay.t.sol by @eltociear in #1646
- Add last audit and yellow paper by @MerlinEgalite in #1648
- Fix typo in TestRepay.t.sol by @MathisGD in #1649
- Fix CI by @MathisGD in #1652
- Fix remapping not found in
config/aave-v2/Config.sol
file by @QGarchery in #1653 - Docs update deployment addresses by @MerlinEgalite in #1655
- Upgrade Morpho #1 by @Rubilmax in #1554
New Contributors
- @spalen0 made their first contribution in #1638
- @eltociear made their first contribution in #1646
Full Changelog: v2.0.0...v2.1.0
v2.0.0 Granular pausing and deprecated markets
Major changes
- Add granular pausing feature
- Add deprecated market feature
- Add increase P2P delta feature
- Updated lenses in consequence
Deployment addresses
Morpho-Compound
- Morpho Implementation: 0xbbb011b923f382543a94e67e1d0c88d9763356e5
- PositionsManager: 0x309a4505d79fcc59affaba205fdcb880d400ef39
- InterestRatesManager: 0x3e483225666871d192b686c42e6834e217a9871c
- RewardsManager Implementation: 0xf47963cc317ebe4b8ebcf30f6e144b7e7e5571b7
- Lens Implementation: 0xe54dde06d245fadcba50dd786f717d44c341f81b
Morpho-Aave-V2
- Morpho Implementation: 0x206a1609a484db5129ca118f138e5a8abb9c61e0
- EntryPositionsManager: 0x2a46cad23484c15f60663ece368395b3a249632a
- ExitPositionsManager: 0xfa652aa169c23277a941cf2d23d2d707fda60ed9
- InterestRatesManager: 0x4f54235e17eb8dcdfc941a77e7734a537f7bed86
- Lens Implementation: 0xce23e457fb01454b8c59e31f4f72e4bd3d29b5eb
What's Changed
- ⬆️ Added foundry-storage-check by @Rubilmax in #1281
- 📄 (#1294) Update license by @MerlinEgalite in #1359
- Recover fix doc: stable rate borrowing by @MerlinEgalite in #1360
- ⚡️ (#1311) Remove useless check by @MerlinEgalite in #1358
- Fix the CI by @Rubilmax in #1376
- 🎨 (#1329) Rename safe -> unsafe by @MerlinEgalite in #1374
- Fix storage checks for interfaces by @Rubilmax in #1379
- Remove gas diff by @Rubilmax in #1382
- Recover fix steth by @MerlinEgalite in #1363
- Fix CI hardhat common config by @Rubilmax in #1383
- Fix rewards manager aave v3 by @MerlinEgalite in #1377
- Remove incompatible paths-ignore by @Rubilmax in #1384
- Fix hardhat configuration for etherscan verification by @julien-devatom in #1341
- Update solc versions by @MerlinEgalite in #1364
- Recover collateral check by @MerlinEgalite in #1361
- Comment/lens misleading 1369 by @pakim249CAL in #1385
- Recover increase delta and fix safe sub by @MerlinEgalite in #1362
- Recover granular pausing and deprecation by @MerlinEgalite in #1366
- Test/compound 1386 by @pakim249CAL in #1390
- Use PercentageMath in IRM to avoid underflow by @Rubilmax in #1298
- Refine upgrade tests by @Rubilmax in #1372
- Test FRAX listing by @MerlinEgalite in #1393
- Add coverage and add interface fns by @pakim249CAL in #1391
- Refactor consistency by @MerlinEgalite in #1396
- Move zero check to safe functions by @QGarchery in #1318
- Replace borrow index by @pakim249CAL in #1375
- Remove basis points by @pakim249CAL in #1367
- Make stEth base rebase index constant by @Rubilmax in #1394
- Add CI codecov upload by @Rubilmax in #1388
- Move lens interfaces + fix small formatting by @MerlinEgalite in #1400
- Add tests for max gas by @pakim249CAL in #1371
- Feat/lens accrue getter by @pakim249CAL in #1402
- Remove wadToRay by @QGarchery in #1397
- Remove identity storage assigns by @QGarchery in #1409
- Added maxGasForMatching test for supply by @Rubilmax in #1403
- Harmonize further by @Rubilmax in #1408
- Harmonize again by @Rubilmax in #1412
- Fix aave v2 ci by @pakim249CAL in #1416
- Add borrow cap reached test by @Rubilmax in #1414
- Main to upgrade-0 by @Rubilmax in #1423
- Fix tests aave v2 by @MerlinEgalite in #1415
- Improve stEth tests by @Rubilmax in #1422
- Use safeApprove everywhere by @MathisGD in #1433
- Fail the CI when tests fail by @Rubilmax in #1432
- Added storage-layout docs by @Rubilmax in #1430
- Test improve invert spreads helper by @MathisGD in #1436
- Fix CI by @MerlinEgalite in #1437
- Fix production tests by @MerlinEgalite in #1434
- Fix stETH tests by @MerlinEgalite in #1438
- Refactor harmonize by @MerlinEgalite in #1404
- Fix underflows in Lens by @Rubilmax in #1451
- Add production tests to CI by @Rubilmax in #1440
- Fix approx range in upgrade tests by @Rubilmax in #1497
- Fix CI on main by @Rubilmax in #1498
- Fix lens function visibility by @Rubilmax in #1504
- Reuse existing function in Lens by @Rubilmax in #1503
- Uniformized litteral formatting by @Rubilmax in #1496
- Renamed Lens indexes by @Rubilmax in #1495
- Inline Lens memory variables by @Rubilmax in #1494
- Fixed underflows when delta > p2p amount by @Rubilmax in #1493
- remove unnecessary check by @pakim249CAL in #1513
- fix: match delta p2pDisabled by @MathisGD in #1453
- Remove aave v3 by @MerlinEgalite in #1515
- Foundry repo style by @MerlinEgalite in #1516
- Lens comment suggestions by @Rubilmax in #1491
- Remove Address in naming by @Rubilmax in #1505
- Remove outdated CompoundMath in Lens by @pakim249CAL in #1512
- Refactor InterestRatesModel for more clarity by @Rubilmax in #1522
- Harmonize p2p rate computation by @Rubilmax in #1492
- Fix Lens getHypotheticalBalanceStates by @Rubilmax in #1502
- Make compound Lens variables immutables by @Rubilmax in #1525
- Added deltas prod tests by @Rubilmax in #1454
- Refactor Lens indexes by @Rubilmax in #1523
- Make Lens inherits its interface by @Rubilmax in #1524
- 🩹 (#1541) Use borrowIndex from the pool by @MerlinEgalite in #1558
- Refactor lens storage layout by @MerlinEgalite in #1573
- Add contract size check to CI by @Rubilmax in #1577
- Refactor rates calculation by @Rubilmax in #1556
- Add pool indexes specs by @Rubilmax in #1576
- Add isLiquidatable(user,market) by @Rubilmax in #1578
- Update production tests by @Rubilmax in #1590
- Added silenced storage variables by @Rubilmax in #1589
- Added Lens to CI foundry-storage-check by @Rubilmax in #1588
- Fix CI action name by @Rubilmax in #1586
- Upgrade Lens #0 by @MerlinEgalite in https://github.com/morpho-...
v2.0.0-beta Aave V3 Last ChainSecurity Audit (Granular pausing and deprecated markets)
Pre-release
Major changes
- Add the possibility for the DAO to pause markets in a granular way
- Add the possibility for the DAO to deprecate a given market
- Add the possibility for the DAO to increase the P2P deltas
Audits
What's Changed
- Dev by @MerlinEgalite in #1295
- Add isMarketCreated to granular pausing functions by @MerlinEgalite in #1304
- Refactor liquidation on deprecated market by @MerlinEgalite in #1305
- ⚡️ (#1311) Remove useless check by @MerlinEgalite in #1313
- Clean hardhat setup & add upgrade test by @Rubilmax in #1301
- ⚡️ (#1310) Avoid code duplication by @MerlinEgalite in #1314
- Dev by @MerlinEgalite in #1306
Full Changelog: v1.10.2...v2.0.0-beta
v1.10.6
Major Changes
- Add the increase P2P delta function to Aave to prevent any issue with the CRV asset
Deployments
- Morpho Implementation: 0x497897080d90bc0418f896f4bfcdddd06fe8a9ea
- ExitPositionsManager: 0x51ae58e71fed9b1162810898bbd68301206786b2
What's Changed
- Add inverted spread tests by @Rubilmax in #1424
- Increase delta by @MerlinEgalite in #1448
Full Changelog: v1.10.5...v1.10.6
v1.10.5 Update Lens average rates functions
What's Changed
- Update README badges by @Rubilmax in #1316
- ✅ Clean tests #0 by @MerlinEgalite in #1342
- 📝 (#1344) Update chainsec audit by @MerlinEgalite in #1346
- Lens function visibility fix by @MerlinEgalite in #1347
- Fix Lens Aave V2 by @MerlinEgalite in #1337
- Reset state by @MerlinEgalite in #1352
- Update lens pragma version by @Rubilmax in #1368
- Dev by @MerlinEgalite in #1332
- chore: update forge-std to 1.0.0 by @MathisGD in #1389
- Fix lens rate Aave v2 by @MathisGD in #1419
- Lens storage manipulation to show inverted rates by @QGarchery in #1421
Deployment Addresses
- Lens Aave V2: 0x7e896AB4a3D29BF54DE88A57c32671A34073C2f9
Full Changelog: v1.10.4...v1.10.5
v1.10.4 Update Lens visibility
Deployments
- Lens Aave V2: 0x6691e649e21eb9f5df1b382227af42607973a7f5
What's Changed
Full Changelog: v1.10.3...v1.10.4
v1.10.3 Lens Aave V2 stETH update
Deployments
- Lens Aave V2: 0xc7270be953557f92d8d4aa45e7f0ded37fac60c1
What's Changed
Full Changelog: v1.10.1...v1.10.3
v1.10.2 IRM Aave V2 stETH update (Granular pausing)
Major changes
InterestRatesManager
on Morpho-Aave-V2 has been updated to reflectaStEth
mechanism.
Deployment
- InterestRatesManager Aave V2: 0x400Af815Ef4DE9E564Fbf37268351a50134E6E36
What's Changed
- Fix liquidity check and interest from flash loan by @pakim249CAL in #1264
- Fix doc: stable rates borrowing by @MathisGD in #1265
- Storage layout check aave v2 by @MathisGD in #1275
- At least decrease the nb of reports by @Rubilmax in #1285
- Mirror #1282 #1286 on aave by @MathisGD in #1289
- Fix sub underflow deltas by @MathisGD in #1286
- Increase P2P deltas admin function by @MathisGD in #1282
- Granular pausing and deprecated market by @MerlinEgalite in #1272
- PR Dev by @MathisGD in #1277
- Fix doc by @MerlinEgalite in #1291
- Updated solidity pragma by @Rubilmax in #1293
- 📝 Remove sentence by @MerlinEgalite in #1292
- License by @MerlinEgalite in #1296
- Staked ETH Refactor by @MerlinEgalite in #1297
Full Changelog: v1.10.1...v1.10.2
v1.10.1 Fix P2P rate computation of the morpho-aave lens
What's Changed
- Improve Morpho's endpoints by @Rubilmax in #1235
- Add withdraw & send feature by @Rubilmax in #1243
- Fixed Lens withdrawable calculation by @Rubilmax in #1253
- Updated IRM to cover flashloan index increase by @Rubilmax in #1258
- Fix Lens Morpho-AaveV2 interface by @Rubilmax in #1259
- Add Aave-V2 live tests by @Rubilmax in #1251
- Add audits by @MerlinEgalite in #1254
- Fix rates lens interface once and for all by @Rubilmax in #1260
- Dev by @MerlinEgalite in #1257
- fix(aave-v2)!: fix p2p rate computation of the lens by @julien-devatom in #1267
Deployment
Lens Implementation: 0x558d0794e8e0598c2aca4789e40dd985ce055bdf
Full Changelog: v1.10...v1.10.1