spherenet-program-whitelist-interface 0.1.0

Interface of SphereNet's Program Whitelist Program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Whitelist Entry account state

use shank::ShankType;

/// Internal representation of a whitelist entry account state.
#[repr(u8)]
#[derive(Clone, Copy, Debug, PartialEq, ShankType)]
pub enum AccountState {
    /// Account is not yet initialized
    Uninitialized,

    /// Account has been initialized
    Initialized,
}