In the debt token the computated balance increase is wrong making the event Mint is wrong.
In the mint function of the Debt Token the the protocol compute the balance increase due to the change of the usage index and emit an event that use this value as we can see here :
The problem is that the protocol use the function balanceOf and that return an unscaled amount as we can see here :
The function will therefore multiplied the balance by the index two times which will make the computation to be totally wrong.
the event emitted will be wrong.
Manual review
The protocol should use the scaled balance to make the computation.
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.