Join our community: https://t.me/+DOylgFv1jyJlNzM0
Area: Contracts & Backend
When a loan is defaulted, the event is immutable. There is no way for a borrower to contest an incorrect default (e.g., caused by indexer lag or a clock-skew bug).
Fix: Add a contest_default(loan_id, reason) backend endpoint that:
- Moves loan to a
disputed status
- Notifies admins for manual review
- Freezes further penalty accrual during dispute window
- Admin can either confirm or reverse the default
Area: Contracts & Backend
When a loan is defaulted, the event is immutable. There is no way for a borrower to contest an incorrect default (e.g., caused by indexer lag or a clock-skew bug).
Fix: Add a
contest_default(loan_id, reason)backend endpoint that:disputedstatus