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 #1514
- Update
morpho-data-structures
submodule branch by @Rubilmax in #1591 - Upgrade Morpho #0 by @Rubilmax in #1373
- Add pause status checks in production tests by @Rubilmax in #1592
- 📝 (#1605) Update addresses by @MerlinEgalite in #1608
- 📝 Fix deployed addresses by @MerlinEgalite in #1609
Full Changelog: v1.10.6...v2.0.0