Platform: Code4rena
Start Date: 28/04/2022
Pot Size: $50,000 USDC
Total HM: 7
Participants: 43
Period: 5 days
Judge: gzeon
Total Solo HM: 2
Id: 115
League: ETH
Rank: 4/43
Findings: 2
Award: $4,235.13
🌟 Selected for report: 1
🚀 Solo Findings: 1
🌟 Selected for report: AlleyCat
4146.0865 USDC - $4,146.09
https://github.com/code-423n4/2022-04-mimo/blob/main/core/contracts/libraries/ABDKMath64x64.sol#L626 https://github.com/code-423n4/2022-04-mimo/blob/main/core/contracts/libraries/ABDKMath64x64.sol#L629 https://github.com/code-423n4/2022-04-mimo/blob/main/core/contracts/libraries/ABDKMath64x64.sol#L630
Solidity could truncate the results, performing multiplication before division will prevent rounding/truncation in solidity math.
Consider ordering multiplication first.
🌟 Selected for report: Dravee
Also found by: 0x1f8b, 0x4non, 0x52, 0xDjango, AlleyCat, Funen, GalloDaSballo, GimelSec, Hawkeye, MaratCerby, Picodes, berndartmueller, cccz, defsec, delfin454000, dipp, hyh, ilan, joestakey, kebabsec, luduvigo, pauliax, peritoflores, robee, rotcivegaf, samruna, shenwilly, sikorico, simon135, sorrynotsorry, unforgiven, z3s
89.0354 USDC - $89.04
BalancerV2LPOracle._getNormalizedBalance shadows: - BalancerV2LPOracle.decimals (contracts/oracles/BalancerV2LPOracle.sol#19 - AggregatorV3Interface.decimals() (contracts/chainlink/AggregatorV3Interface.sol#6