Skip to content

Contract: Add Protocol Storage Clean-Up Refund Mechanism for Closed Plans#1170

Description

@ONEONUORA

馃搶 Target Component

contracts/inheritance-contract/src/lib.rs

馃摑 Description

Cancelled or 100% claimed plans leave obsolete persistent storage keys on Stellar ledger without releasing storage fee deposit.

馃搵 Implementation Requirements

  1. Call env.storage().persistent().remove(&key) when plan is fully closed and paid out.
  2. Refund storage fee rent to plan creator wallet address.

馃幆 Testnet Goal

Storage footprint minimization on Stellar testnet ledger.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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