Description
Several state-changing functions do not emit events, making off-chain indexing and debugging difficult.
Expected Behavior
Every quest creation, update, completion, and cancellation should emit a corresponding event.
Proposed Events
event QuestCreated(uint indexed questId, address indexed creator);
event QuestCompleted(uint indexed questId, address indexed player);
event QuestCancelled(uint indexed questId);
event QuestUpdated(uint indexed questId);
Acceptance Criteria
Description
Several state-changing functions do not emit events, making off-chain indexing and debugging difficult.
Expected Behavior
Every quest creation, update, completion, and cancellation should emit a corresponding event.
Proposed Events
Acceptance Criteria