Audited
Fixes & improvements based on Audit
-
#.18 added
external
modifier to fallback function inFeeAccount
andAugmintReserves
#138 -
MonetarySupervisor #137
- #.16 removed unused
getLoanToDepositRatio
fx
- #.16 removed unused
-
LoanManager #135
- #.13
setLoanProductActiveState()
fix - #.14 fix require in
collect()
- #.15
getProductCount()
andgetLoanCount()
no need for var names in return - #.19 LoanManager is TokenReceiver interface
- #.13
-
MultiSig #133
- #.11 use abi.encodeWithSignature for delegatecall
- #.10 limit gas amount sent to delegatecall
-
AugmintToken
- #.2 remove dummy return values from
increaseApproval
/decreaseApproval
methods & merge_increaseApproval()
intoincreaseApproval()
#132
- #.2 remove dummy return values from
-
#.1 deduct transfer fee from allowance when in
transferFrom
#136 -
Locker #131
- #.5 typo in require (Locker.transferNotification)
- #.6 fix inconsistent types in chunk_size and related loops
- #.7 remove unused return value (Locker._createLock)
- #.8 remove redundant check (_lockProductId in transferNotification)
- #.9 fix misleading comment
-
SafeMath #130
- #.4 Fixes bug in SafeMath.roundedDiv + tests
- Test wrapper for SafeMath
- Simplify div operations in SafeMath
Additional fixes/tweaks
- Separate issued and burned amounts in MonetarySupervisor #158
- Introduce chunk_size parameter for all chunked queries (instead of fixed chunk sizes)
Component upgrades