gmsol-utils 0.7.1

GMX-Solana is an extension of GMX on the Solana blockchain.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Max number of user flags.
pub const MAX_USER_FLAGS: usize = 8;

/// User flags.
#[derive(num_enum::IntoPrimitive)]
#[repr(u8)]
#[non_exhaustive]
pub enum UserFlag {
    /// Is initialized.
    Initialized,
    // CHECK: should have no more than `MAX_USER_FLAGS` of flags.
}