Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

No way track how long a the user has held a balance #131

Closed as not planned
Closed as not planned
@aeyakovenko

Description

@aeyakovenko

Problem

Token's are a great way to implement a voting system. For the system to work we need a "hold" time component as well.

Solution

Add a instruction that sets the current slot

  • InitializeHODLSlot

Any withdrawals reset the HODLSlot to None.

A vote program can then generate a ballot from a checkpoint of the tokens balance, and the HODLSlot. To Vote the same token must be presented with the ballot with its HODLSlot set to the expected value.

tag: @jackcmay @CriesofCarrots

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale[bot only] Added to stale content; will be closed soon

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions