Skip to content

[Contracts] Add Notification Revocation Mechanism #176

Description

@Abd-Standard

Description

Certain notifications may need to be revoked before recipients interact with them. Introduce a revocation mechanism that allows authorized senders to invalidate previously created notifications.

The contract should maintain a transparent record of revoked notifications.

Tasks
Add revocation state tracking.
Restrict revocation permissions.
Emit revocation events.
Prevent interaction with revoked notifications.
Create comprehensive contract tests.

Acceptance Criteria
Authorized senders can revoke notifications.
Revoked notifications become inactive.
Events are emitted correctly.
Tests cover permission checks and edge cases.

Activity

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

Metadata

Metadata

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