Skip to content

#23 Issue 23: [Security] Admin "Clawback" Grace Period #44

@JerryIdoko

Description

@JerryIdoko

Description:
If an Admin accidentally creates a vault with 1,000,000 tokens instead of 100,000, they need a short window to undo it before the beneficiary claims it.
Acceptance Criteria:

[ ] Add a hardcoded 1-hour grace_period starting from vault_creation_time.

[ ] Implement clawback_vault(vault_id) that allows the Admin to cancel and retrieve 100% of the funds, but only if current_time < creation_time + 1_hour.
Labels: security, safety

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions