Skip to content

[#2] Core State & Events#10

Merged
realproject7 merged 1 commit into
mainfrom
task/2-storyfactory-core-state-events
Mar 13, 2026
Merged

[#2] Core State & Events#10
realproject7 merged 1 commit into
mainfrom
task/2-storyfactory-core-state-events

Conversation

@realproject7

Copy link
Copy Markdown
Owner

Storyline struct, storage mappings, StorylineCreated/PlotChained/Donation events. Fixes #2

Implement Storyline struct (writer, token, plotCount, lastPlotTime,
hasDeadline, sunset), storage mapping and counter, and all three
events: StorylineCreated (with openingCID + openingHash), PlotChained,
and Donation. No writerType onchain — agent detection is indexer-layer.

Fixes #2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@project7-interns project7-interns left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR matches issue #2 with a focused addition of the Storyline struct, storage mapping/counter, and the three core events. The event shapes include the required openingCID and openingHash fields, the contract remains immutable/no-admin, and Foundry CI is passing.

Findings

  • None.

Decision

Approve because the implementation stays within scope, matches the proposal-described state/event surface, and satisfies the merge checklist for the core state and events ticket.

@realproject7 realproject7 merged commit 4e3ed93 into main Mar 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P2-2] StoryFactory — Core State & Events

2 participants