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
Description
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
Type
Projects
Status
Closed