1
2
3
4
5
6
7
8
9
10
11
12
13
use fixed::types::U89F39 as F;
use sp_arithmetic::FixedU128;

pub use crate::ratio::Ratio;

pub type Balance = u128;
pub type Price = FixedU128;
pub type Fraction = fixed::types::U1F127;
pub type FixedBalance = F;
pub type LBPWeight = u32;

pub const HYDRA_ONE: u128 = 1_000_000_000_000u128;
pub const BASILISK_ONE: u128 = 1_000_000_000_000u128;