💬 Want to contribute? Join us on Telegram: https://t.me/+DOylgFv1jyJlNzM0
Problem
The event indexer currently only tracks LoanManager events. LendingPool, RemittanceNFT, and MultisigGovernance contract events are never indexed. This means:
- Dashboard pool stats are incomplete (deposits and withdrawals missing)
- NFT score changes and seizure events are not queryable
- Governance activity is invisible to the frontend
Expected Behavior
The indexer should subscribe to and store events from all four contracts:
LendingPool: Deposit, Withdraw, EmergencyWithdraw
RemittanceNFT: ScoreUpdated, NFTSeized, NFTBurned, NFTMinted
MultisigGovernance: ProposalCreated, ProposalApproved, ProposalFinalized
Each event type should be stored in the appropriate database table with the relevant fields.
Location
backend/src/services/eventIndexer.ts (or equivalent indexer service)
Impact
Without this, dashboard pool utilization stats are wrong, borrower NFT history is not queryable, and governance transparency is broken.
Problem
The event indexer currently only tracks LoanManager events. LendingPool, RemittanceNFT, and MultisigGovernance contract events are never indexed. This means:
Expected Behavior
The indexer should subscribe to and store events from all four contracts:
LendingPool:Deposit,Withdraw,EmergencyWithdrawRemittanceNFT:ScoreUpdated,NFTSeized,NFTBurned,NFTMintedMultisigGovernance:ProposalCreated,ProposalApproved,ProposalFinalizedEach event type should be stored in the appropriate database table with the relevant fields.
Location
backend/src/services/eventIndexer.ts(or equivalent indexer service)Impact
Without this, dashboard pool utilization stats are wrong, borrower NFT history is not queryable, and governance transparency is broken.