Name | Lookup | Parameters | |
|---|---|---|---|
| set_currency | 2200 | 1 | |
| add_currency | 2201 | 2 | |
| remove_currency | 2202 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| CurrencySet | 2200 | ||
| CurrencyAdded | 2201 | ||
| CurrencyRemoved | 2202 |
Name | Type | |
|---|---|---|
| AccountCurrencyMap | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"AssetId","isLinked":false}} | |
| AcceptedCurrencies | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"Price","isLinked":false}} | |
| FallbackAccount | {"origin":"PlainType","plain_type":"AccountId"} |
Name | Docs |
|---|---|
| UnsupportedCurrency | Selected currency is not supported. |
| ZeroBalance | Account balance should be non-zero. |
| AlreadyAccepted | Currency is already in the list of accepted currencies. |
| CoreAssetNotAllowed | It is not allowed to add Core Asset as accepted currency. Core asset is accepted by design. |
| ZeroPrice | Fallback price cannot be zero. |
| FallbackPriceNotFound | Fallback price was not found. |
| Overflow | Math overflow |