Skip to content

Add freeze status indexing and freeze/unfreeze admin endpoints #964

Description

@Chucks1093

Summary

Index key freeze events from the contract and expose endpoints to fetch freeze status, initiate an emergency freeze, and submit an unfreeze through the multi-sig flow.

Scope

  • GET /keys/:keyId/freeze — current freeze status, reason, and timestamp
  • POST /keys/:keyId/freeze — admin-only emergency freeze endpoint
  • POST /keys/:keyId/unfreeze — initiates multi-sig unfreeze proposal
  • Freeze events indexed on contract event stream
  • Freeze status cache invalidated on state change

Acceptance Criteria

  • Freeze status returns correct state, reason, and timestamp
  • Emergency freeze validates admin authorization before executing
  • Unfreeze creates multi-sig proposal correctly
  • Freeze events indexed in correct order without gaps
  • Cache invalidated immediately on freeze or unfreeze confirmation

ETA

12 hours

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions