The currencies module provides a mixed currencies system, by configuring a
native currency which implements
BasicCurrencyExtended, and a
multi-currency which implements
It also provides an adapter, to adapt
The currencies module provides functionality of both
BasicCurrencyExtended, via unified interfaces, and all calls would be
delegated to the underlying multi-currency and base currency system.
A native currency ID could be set by
identify the native currency.
The currencies module provides implementations for following traits.
MultiCurrency- Abstraction over a fungible multi-currency system.
MultiCurrencywith additional helper types and methods, like updating balance by a given signed integer amount.
transfer- Transfer some balance to another account, in a given currency.
transfer_native_currency- Transfer some balance to another account, in native currency set in
update_balance- Update balance by signed integer amount, in a given currency, root origin required.
Adapt other currency traits implementation to