Is there a way to tell from event logs whether the debt repaid by a user is stable or variable?

Expert

Is there a way to tell from event logs whether the debt being repaid by a user is their stable or variable debt? I see the borrow rate mode is a param in repay() but not emitted in the event

Answers 1

variableDebtToken and stableDebtToken both have burn events which are emitted;