Skip to content

Delete / Finalize Vaults #34

@0xbigz

Description

@0xbigz

sharing thoughts on topic raise by both @dannpl and @wphan

  • easy to support if vault.total_shares = 0 and vault.init_ts - now > MIN_VAULT_LIFETIME, then let anyone close out vault (and associated user account through cpi call)
  • force closure, when these invariants above aren't true, seems more difficult/complex
  • ensuring that vault.total_shares can get to 0 (rather than dust) should be examined during testing

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