The burn
function calculates balanceIncrease
(accrued interest) but does not adjust the amount
to burn accordingly. This allows users to repay debt without accounting for accrued interest.
Debt repayment must include both the principal and accrued interest. Ignoring balanceIncrease
lets users bypass interest payments.
The burn
function calculates balanceIncrease
(accrued interest) but does not add it to the user's debt before burning. This allows users to repay debt without covering accrued interest, understating their total obligations.
balanceIncrease
= interest accrued since the user’s last interaction.
The user’s index is updated to the parameter index
(not the current index).
Burns amount
without first minting balanceIncrease
to the user’s debt.
Debt repayment must include both the principal and accrued interest. Ignoring balanceIncrease
lets users bypass interest payments. Users can strategically repay before interest accrual to minimize costs.
Foundry
Mint balanceIncrease
to the user’s scaled balance before burning.
Ensure the burned amount includes both principal and interest.
Interest IS applied through the balanceOf() mechanism. The separate balanceIncrease calculation is redundant/wrong. Users pay full debt including interest via userBalance capping.
Interest IS applied through the balanceOf() mechanism. The separate balanceIncrease calculation is redundant/wrong. Users pay full debt including interest via userBalance capping.
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.