Name | Lookup | Parameters | |
|---|---|---|---|
| register_foreign_asset | 7a00 | 2 | |
| update_foreign_asset | 7a01 | 3 | |
| register_stable_asset | 7a02 | 1 | |
| update_stable_asset | 7a03 | 2 | |
| register_erc20_asset | 7a04 | 2 | |
| update_erc20_asset | 7a05 | 2 | |
| register_native_asset | 7a06 | 2 | |
| update_native_asset | 7a07 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ForeignAssetRegistered | 7a00 | ["ForeignAssetId","MultiLocation","AssetMetadata<BalanceOf>"] | |
| ForeignAssetUpdated | 7a01 | ["ForeignAssetId","MultiLocation","AssetMetadata<BalanceOf>"] | |
| AssetRegistered | 7a02 | ["AssetIds","AssetMetadata<BalanceOf>"] | |
| AssetUpdated | 7a03 | ["AssetIds","AssetMetadata<BalanceOf>"] |
Name | Type | |
|---|---|---|
| NextForeignAssetId | {"origin":"PlainType","plain_type":"U16","PlainTypeValue":38} | |
| NextStableAssetId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ForeignAssetLocations | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":38,"value_id":74}} | |
| LocationToCurrencyIds | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"acala_primitives:currency:CurrencyId","keys_id":74,"value_id":50}} | |
| Erc20IdToAddress | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"H160","keys_id":4,"value_id":44}} | |
| AssetMetadatas | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["module_asset_registry:module:AssetIds"],"value":"module_asset_registry:module:AssetMetadata","keys_id":167,"value_id":166}} |
Name | Type | Value | |
|---|---|---|---|
| StakingCurrencyId | acala_primitives:currency:CurrencyId | 0002 |
Name | Docs |
|---|---|
| BadLocation | The given location could not be used (e.g. because it cannot be expressed in thedesired version of XCM). |
| MultiLocationExisted | MultiLocation existed |
| AssetIdNotExists | AssetId not exists |
| AssetIdExisted | AssetId exists |