pub mod phronesis {
use crate::Balance;
pub const SUPPLY_FACTOR: Balance = 100;
pub const WEI: Balance = 1;
pub const KILOWEI: Balance = 1_000;
pub const MEGAWEI: Balance = 1_000_000;
pub const GIGAWEI: Balance = 1_000_000_000;
pub const MICROPHRON: Balance = 1_000_000_000_000;
pub const MILLIPHRON: Balance = 1_000_000_000_000_000;
pub const PHRON: Balance = 1_000_000_000_000_000_000;
pub const KILOPHRON: Balance = 1_000_000_000_000_000_000_000;
pub const TRANSACTION_BYTE_FEE: Balance = GIGAWEI * SUPPLY_FACTOR;
pub const STORAGE_BYTE_FEE: Balance = 100 * MICROPHRON * SUPPLY_FACTOR;
pub const WEIGHT_FEE: Balance = 50 * KILOWEI * SUPPLY_FACTOR;
pub const fn deposit(items: u32, bytes: u32) -> Balance {
(items as Balance) * 100 * MILLIPHRON * SUPPLY_FACTOR + (bytes as Balance) * STORAGE_BYTE_FEE
}
}