light-compressed-token 2.0.0

Generalized token compression on Solana
Documentation
1
2
3
4
5
6
7
8
// 2 in little endian
pub const TOKEN_COMPRESSED_ACCOUNT_DISCRIMINATOR: [u8; 8] = [2, 0, 0, 0, 0, 0, 0, 0];
pub const BUMP_CPI_AUTHORITY: u8 = 254;
pub const NOT_FROZEN: bool = false;
pub const POOL_SEED: &[u8] = b"pool";

/// Maximum number of pool accounts that can be created for each mint.
pub const NUM_MAX_POOL_ACCOUNTS: u8 = 5;