pub trait AccountIdToCurrencyId<Account, CurrencyId> {
// Required method
fn account_to_currency_id(account: Account) -> Option<CurrencyId>;
}
Expand description
This trait ensure we can convert AccountIds to CurrencyIds We will require Runtime to have this trait implemented
Required Methods§
fn account_to_currency_id(account: Account) -> Option<CurrencyId>
Object Safety§
This trait is not object safe.