What's Changed
- Use 18 decimlas for rate and liquidation threshold
- Abstract the rate calculation to a different contract to make it modular
- Add global debt ceiling and add check for global and collateral debt ceiling when minting, also update deploy script and tests
- Enable users to be able to repay and withdraw during paused
- Added invariant tests and fix noticed bugs
- Added fuzzed unit test for currency contract
- Integrate the OSM, Median and Feed into the invariant tests
- Replace open zeppelin with solady.
- Use rounding down for liquidation reward calculation
- Added invariant tests and fix noticed bugs
Full Changelog:https://github.com/Descent-Collective/protocol-core/blob/master/CHANGELOG.md#sepolia-version-020