Trait orml_tokens::ConvertBalance
source · pub trait ConvertBalance<A, B> {
type AssetId;
fn convert_balance(amount: A, asset_id: Self::AssetId) -> B;
fn convert_balance_back(amount: B, asset_id: Self::AssetId) -> A;
}
pub trait ConvertBalance<A, B> {
type AssetId;
fn convert_balance(amount: A, asset_id: Self::AssetId) -> B;
fn convert_balance_back(amount: B, asset_id: Self::AssetId) -> A;
}