Skip to content

Comments

feat: add explicit state machine model for market lifecycle #351

Open
dinahmaccodes wants to merge 2 commits intoWeb3Novalabs:mainfrom
dinahmaccodes:issue330
Open

feat: add explicit state machine model for market lifecycle #351
dinahmaccodes wants to merge 2 commits intoWeb3Novalabs:mainfrom
dinahmaccodes:issue330

Conversation

@dinahmaccodes
Copy link
Contributor

Closes #330

- Add MarketState enum (Active, Resolved, Canceled)
- Update Pool struct to use state instead of resolved flag
- Add state transition guards and validation
- Implement cancel_pool function
- Add PoolCanceledEvent
@vercel
Copy link

vercel bot commented Feb 21, 2026

@dinahmaccodes is attempting to deploy a commit to the shola's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dinahmaccodes dinahmaccodes changed the title feat: add explicit state machine model for market lifecycle @dinahmaccodes feat: add explicit state machine model for market lifecycle Feb 21, 2026
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.

Audit and Harden State Transitions

1 participant