addMIgratedDepositsToAccount function. code link below
The variables are declared but no value is assigned to them, hence they have a default value of 0. code link below
The Values of global state are being set to 0.code link below
As seen in the code links above, the values for totalDeposited and totalDepositedBdv are not calculated nor they are assigned any value but the value of these variables is assigned to the global state which leads to assigning the value of 0 to those state variables
Setting the global state values to 0 can impact calculation/cause unexpected results where these state variables are used
Manual Review
check/ calculate the appropriate values for totalDeposited and totalDepositedBdv variables before assign them to global state
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.