Skip to content

[Logic] Add pause functionality for ProjectRegistry #41

Description

@AbelOsaretin

Description

Similar to the vault, the ProjectRegistry has no pause mechanism. In case of an emergency, the ability to pause project creation and score updates would be valuable.

Current Code Location

project_registry/src/lib.rs

Recommendation

  • Add Paused boolean storage key
  • Add pause() and unpause() admin functions
  • Add pause checks to create_project and update_impact_score
  • Emit Paused and Unpaused events

Severity

Medium — Emergency control for the registry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contractSmart contract logic and designenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions