Name | Lookup | Parameters | |
---|---|---|---|
register_foreign_asset | 4200 | 2 | |
update_foreign_asset | 4201 | 3 | |
update_native_asset_metadata | 4202 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
ForeignAssetRegistered | 4200 | ["TokenId","MultiLocation","AssetMetadata<BalanceOf>"] | |
ForeignAssetUpdated | 4201 | ["TokenId","MultiLocation","AssetMetadata<BalanceOf>"] | |
AssetRegistered | 4202 | ["AssetIds","AssetMetadata<BalanceOf>"] | |
AssetUpdated | 4203 | ["FungibleTokenId","AssetMetadata<BalanceOf>"] |
Name | Type | |
---|---|---|
NextForeignAssetId | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":8} | |
NextStableAssetId | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":8} | |
ForeignAssetLocations | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":8,"value_id":59}} | |
LocationToFungibleTokenIds | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"bit_country_primitives:FungibleTokenId","keys_id":59,"value_id":44}} | |
Erc20IdToAddress | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"H160","keys_id":8,"value_id":134}} | |
AssetMetadatas | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bit_country_primitives:AssetIds"],"value":"bit_country_primitives:AssetMetadata","keys_id":133,"value_id":132}} |
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 |