Trait currency::CurrencyConversion
source · pub trait CurrencyConversion<Amount, CurrencyId> {
// Required method
fn convert(amount: &Amount, to: CurrencyId) -> Result<Amount, DispatchError>;
}
pub trait CurrencyConversion<Amount, CurrencyId> {
// Required method
fn convert(amount: &Amount, to: CurrencyId) -> Result<Amount, DispatchError>;
}