Summary
When the admin updates the protocol fee recipient address, there is no observable event for off-chain monitors to react to. A contract event should be emitted on each successful update so indexers can maintain an accurate record of the current fee recipient without polling storage.
Scope
- Emit a contract event on
set_protocol_fee_recipient with fields: old_recipient, new_recipient, updated_at_ledger
- Use a dedicated event topic distinct from buy/sell/TTL events
- Add a test asserting the event is present in the transaction result after a successful admin update
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
When the admin updates the protocol fee recipient address, there is no observable event for off-chain monitors to react to. A contract event should be emitted on each successful update so indexers can maintain an accurate record of the current fee recipient without polling storage.
Scope
set_protocol_fee_recipientwith fields:old_recipient,new_recipient,updated_at_ledgerAcceptance Criteria
old_recipient,new_recipient,updated_at_ledgerETA: 12 hours
Coordinate on Telegram