Instead of using += to add an amount to a value, it's better to make it like: x = x + y
Instances:
File: Lender.sol
pools[poolId].outstandingLoans += debt;
pools[poolId].outstandingLoans += totalDebt;
File: Staking.sol
balances[msg.sender] += _amount;
claimable[recipient] += _share;
None
Use instead:
pools[poolId].outstandingLoans = pools[poolId].outstandingLoans + debt;
pools[poolId].outstandingLoans = pools[poolId].outstandingLoans + totalDebt;
balances[msg.sender] = balances[msg.sender] + _amount;
claimable[recipient] = claimable[recipient] + _share;
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.