ore-api 3.8.2

Solana native store of value.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use steel::*;

#[derive(Debug, Error, Clone, Copy, PartialEq, Eq, IntoPrimitive)]
#[repr(u32)]
pub enum OreError {
    #[error("Amount too small")]
    AmountTooSmall = 0,

    #[error("Not authorized")]
    NotAuthorized = 1,

    #[error("Invalid executor")]
    InvalidExecutor = 2,
}

error!(OreError);