cronos-indexer 0.0.1

Create an on-chain list of accounts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anchor_lang::prelude::*;

/// Root seed for deriving List account PDAs.
pub const SEED_LIST: &[u8] = b"list";

/// List accounts store a list's metadata.
#[account]
pub struct List {
    pub owner: Pubkey,
    pub namespace: Pubkey,
    pub count: u128,
    pub bump: u8,
}