bucks-api 0.2.0

White label stablecoin launchpad
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
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!(OreError);