The current calculation does not reflect the full scope of the deployed balance. An accurate deployed balance should represent the total assets deposited into the system, adjusted for withdrawals and yield interest.
Here is the calculation as coded in the function
The balanceDeployed
function should be updated to include the exchanged balance in its calculation. The deployed balance formula should be revised to:
Deployed Balance = Total Assets Deposited - (Total Withdrawn - Yield Interest)
This adjustment will ensure the deployed balance accurately represents all asset states, including the exchanged balance.
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.