pub trait RuntimeCurrencyInfo {
    // Required methods
    fn symbol(&self) -> Result<String, Error>;
    fn decimals(&self) -> Result<u32, Error>;
    fn one(&self) -> Result<u128, Error>;
    fn coingecko_id(&self) -> Result<String, Error>;
}
Expand description

Fallible operations on currencies

Required Methods§

Implementors§