As it can be seen in DebtToken.sol, the event Burn is defined as:
However, in the DebtToken::burn function, the second argument is amountScaled instead of `amount.
Off-chain listeners may use/display incorrect values and potentially mislead users.
Especially as the usage index of reserve is emitted allong with the amount, which suggests that the listener could use them to calculate the scaled amount the borrower paid to burn his debt tokens.
Manual review.
Use amount instead of amountScaled.
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.