solana-runtime 4.0.0-beta.7

Solana runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use {
    solana_pubkey::Pubkey,
    spl_generic_token::{associated_token_account, token, token_2022},
};

/// Vector of static token & mint IDs
pub static STATIC_IDS: std::sync::LazyLock<Vec<Pubkey>> = std::sync::LazyLock::new(|| {
    vec![
        associated_token_account::id(),
        token::id(),
        token::native_mint::id(),
        token_2022::id(),
    ]
});