| Crates.io | orml-currencies |
| lib.rs | orml-currencies |
| version | 1.5.0 |
| created_at | 2020-05-14 23:54:55.523099+00 |
| updated_at | 2025-09-17 22:29:33.703739+00 |
| description | Provide `MultiCurrency` implementation using `pallet-balances` and `orml-tokens` module. |
| homepage | |
| repository | https://github.com/open-web3-stack/open-runtime-module-library/tree/master/currencies |
| max_upload_size | |
| id | 241702 |
| size | 149,502 |
The currencies module provides a mixed currencies system, by configuring a native currency which implements BasicCurrencyExtended, and a multi-currency which implements MultiCurrency.
It also provides an adapter, to adapt frame_support::traits::Currency implementations into BasicCurrencyExtended.
The currencies module provides functionality of both MultiCurrencyExtended and 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 Config::GetNativeCurrencyId, to identify the native currency.