Skip to content

defi-wonderland/token-locking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Token staking



Program ID


  • mainnet: ---TBD---
  • devnet: 3F15CLnQjHqMCHLn2g7vuDULiRuJDiEMSZQXMoVVUGtA

Audit


This code has been audited ✅


Overview


  • The codebase is a modified fork of the Bonfida Token Vesting program, into a Staking program.
  • The staking contract allows you to deposit X SPL tokens that will get unlocked at a certain block height/slot.
  • Allows a pre-defined list of possible time periods for staking: 0 for "unlocked", 3 mth, 6, 9, 12.
  • On "unlocked" stakes, there is a 7 day withdrawal period since the user initializes the withdrawal.