Submitted by gpersoon
Safemath is used in several places but not everywhere. Especially in risky places like PnL and distributeStrategyGainLoss where it is hardly worth the gas-savings of not using safemath.
In distributeStrategyGainLoss it does make a difference, also due to another issue.
PnL.sol L215:
Controller.sol L355
Recommend applying safemath or moving to Solidity 0.8.x
- kristian-gro (Gro) acknowledged
