dloom-locker 4.0.0

A Solana locker program created with Anchor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// FILE: programs/dloom_locker/src/state/lock_record.rs
use anchor_lang::prelude::*;

#[account]
pub struct LockRecord {
    pub bump: u8,
    pub owner: Pubkey,
    pub mint: Pubkey,
    pub vault: Pubkey,
    pub amount: u64,
    pub unlock_timestamp: i64,
    pub id: u64, 
}