Summary
When the indexer updates the ownership read model after a buy or sell, a structured log entry confirms the update happened and shows the balance change, making it easier to trace balance discrepancies without a full database audit.
Scope
- Emit a structured debug log after each ownership update with fields:
creator_id, wallet_address (masked), previous_balance, new_balance, event_type (buy or sell), ledger_sequence
- Wallet address masked to first 4 and last 4 characters
- Log emitted only on successful write
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
When the indexer updates the ownership read model after a buy or sell, a structured log entry confirms the update happened and shows the balance change, making it easier to trace balance discrepancies without a full database audit.
Scope
creator_id,wallet_address(masked),previous_balance,new_balance,event_type(buy or sell),ledger_sequenceAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram