Skip to content

[Contracts] Implement close_plan / Refund Functionality #836

Description

@ONEONUORA

Description

Allow plan owners to cancel their inheritance plans early:

  • Authenticate that the caller is the plan owner.
  • Transfer all locked tokens and accrued interest back to the owner.
  • Delete the plan from persistent contract storage.

Acceptance Criteria

  • Rejects non-owners.
  • Returns full token balance.
  • Safely cleans up the storage slot to refund gas/rent.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcontractsSmart contracts componentenhancementNew 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