Closed sebsadface closed 1 month ago
The current plan is to break down the SPG into smaller "workflow" contracts. Some groundwork has already been completed in PR #43:
GroupingWorkflows
).BaseWorkflow
contract has been introduced to consolidate shared logic across different workflow contracts, and both GroupingWorkflows
and StoryProtocolGateway
now inherit from BaseWorkflow
.Future Plans:
StoryProtocolGateway
contract will be further divided into additional workflow contracts to reduce deployment size and improve gas efficiency (e.g., licensing workflows, IP registration workflows).
Description
The SPG contract is currently implemented as a single monolithic contract, which has now reached its size limit due to the addition of new functionalities. SPG needs to be restructured and the logic needs to be refactored into smaller contracts.