luts 0.1.1

Address Lookup Table wrapper with deduplication and readiness tracking
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anchor_lang::prelude::*;

#[error_code]
pub enum LutError {
    #[msg("Invalid Lookup Table address")]
    InvalidLookupTable,
    #[msg("LUT not yet ready - cooldown period not passed")]
    LutNotReady,
    #[msg("Maximum addresses exceeded (256 limit)")]
    MaxAddressesExceeded,
    #[msg("No new addresses to add")]
    NoNewAddresses,
}