v0.5.1
What's Changed
- fix: remove unused error & event by @yan-man in (#766)
- chore: add Dependency Review GitHub Action by @absis in (#773)
- fix: CollateralFactor strictly less than 100_00 by @yan-man in (#769)
- test: hub gas snapshots by @yan-man in (#778)
- fix: _getReserveData consistency by @yan-man in (#789)
- fix: rescueToken consistency by @yan-man in (#798)
- fix: TransferShares indexed params by @yan-man in (#806)
- fix: prevent CF=0 on historical config key by @yan-man in (#802)
- fix: Use uncheckedExp by @CheyenneAtapour in (#813)
- fix: Add oracle decimals check in Spoke by @avniculae in (#834)
- feat: Add gas snapshots tests for zero risk premium by @DhairyaSethi in (#779)
- chore: fix packing by @DhairyaSethi in (#837)
- chore: maxLiquidationBonus setter consistency by @yan-man in (#808)
- chore: track reinvestmentController by @DhairyaSethi in (#838)
- feat: noop renouncePositionManagerRole by @DhairyaSethi in (#839)
- fix: health factor check + notify on updateUserDynamicConfig by @CheyenneAtapour in (#801)
- fix: Use unrealizedFeeShares in totalAddedShares to simplify AssetLogic by @CheyenneAtapour in (#817)
- feat: remove named return params by @yan-man in (#848)
- feat: Implement getRoundData in UnitPriceFeed by @CheyenneAtapour in (#832)
- fix: use Ownable2Step on treasury spoke by @DhairyaSethi in (#849)
- fix: Skip hf check on withdraw non-collateral by @CheyenneAtapour in (#830)
- fix: Rename Hub.payFee function to payFeeShares by @yan-man in (#850)
- fix: spoke cleanup by @DhairyaSethi in (#836)
- feat: reduce timestamp to 32 bits for improved packing by @DhairyaSethi in (#840)
- fix: Avoid double rounding when computing liquidation amounts by @avniculae in (#821)
- feat: Adds keyed-nonces (2d nonces) to support parallel sig-based actions by @DhairyaSethi in (#833)
- chore: removed named return var for coverage by @Kogaroshi in (#851)
- fix: Update OZ dependencies from v5.1 to v5.4 by @Kogaroshi in (#847)
- fix: aave oracle constructor param check by @DhairyaSethi in (#856)
- fix: consistent rounding on convertToDrawnShares by @DhairyaSethi in (#854)
- feat: store deficit per spoke, & include in draw cap check by @avniculae in (#768)
- fix: Enforce minimum decimals on asset by @CheyenneAtapour in (#842)
- misc: solidity pragma versions consistency by @Kogaroshi in (#791)
- fix: Update drawn rate on refresh premium by @DhairyaSethi in (#860)
- docs: natspec by @yan-man in (#767)
- fix: Add reserve and assets existence checks in Spoke and Hub by @miguelmtzinf in (#846)
- chore: reorder functions by @miguelmtzinf in (#864)
- fix: rename getters and move to IHubBase, rename error by @miguelmtzinf in (#865)
- feat: Optimise Math util functions by @DhairyaSethi in (#861)
- rft: cleanup riskPremium calc, rename InBaseCurrency to Value by @DhairyaSethi in (#863)
Full Changelog: v0.5.0...v0.5.1