Skip to content

Comments

feat: implement pool cancellation feature with admin controls and related events#350

Open
No-bodyq wants to merge 1 commit intoWeb3Novalabs:mainfrom
No-bodyq:main
Open

feat: implement pool cancellation feature with admin controls and related events#350
No-bodyq wants to merge 1 commit intoWeb3Novalabs:mainfrom
No-bodyq:main

Conversation

@No-bodyq
Copy link

Implements pool cancellation functionality allowing admins to cancel active prediction pools, freezing all betting activity and preventing new predictions from being placed.

Changes:

  • Added canceled: bool field to Pool struct
  • Implemented cancel_pool() function with admin-only authorization
  • Added PoolCanceled error type and PoolCanceledEvent
  • Prevents placing predictions on canceled pools
  • Prevents canceling already-resolved pools
  • All 26 contract tests passing

closes #309

@vercel
Copy link

vercel bot commented Feb 21, 2026

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

A member of the Team first needs to authorize it.

@No-bodyq
Copy link
Author

Kindly review @Yunusabdul38

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.

Implement Pool Cancellation Logic (Admin/Creator)

1 participant