Name | Lookup | Parameters | |
---|---|---|---|
register | 1500 | 7 | |
transfer | 1501 | 3 | |
mint | 1502 | 3 | |
force_mint | 1503 | 3 | |
burn | 1504 | 2 | |
update_balance | 1505 | 3 | |
set_non_mintable | 1506 | 1 | |
update_info | 1507 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
AssetRegistered | 1500 | ["AssetIdOf","AccountIdOf"] | |
Transfer | 1501 | ["AccountIdOf","AccountIdOf","AssetIdOf","Balance"] | |
Mint | 1502 | ["AccountIdOf","AccountIdOf","AssetIdOf","Balance"] | |
Burn | 1503 | ["AccountIdOf","AssetIdOf","Balance"] | |
AssetSetNonMintable | 1504 | ["AssetIdOf"] | |
AssetUpdated | 1505 | ["AssetIdOf","Option<AssetSymbol>","Option<AssetName>"] |
Name | Type | |
---|---|---|
AssetOwners | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"AccountId","keys_id":67,"value_id":0}} | |
AssetInfos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"Tuple:Vec<U8>Vec<U8>U8Booloption<common:primitives:ContentSource>option<common:primitives:Description>","keys_id":67,"value_id":628}} | |
AssetRecordAssetId | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"assets:AssetRecord","keys_id":67,"value_id":629}} |
Name | Docs |
---|---|
AssetIdAlreadyExists | An asset with a given ID already exists. |
AssetIdNotExists | An asset with a given ID not exists. |
InsufficientBalance | A number is out of range of the balance type. |
InvalidAssetSymbol | Symbol is not valid. It must contain only uppercase latin characters or numbers, length is from 1 to 7. |
InvalidAssetName | Name is not valid. It must contain only uppercase or lowercase latin characters or numbers or spaces, length is from 1 to 33. |
InvalidPrecision | Precision value is not valid, it should represent a number of decimal places for number, max is 30. |
AssetSupplyIsNotMintable | Minting for particular asset id is disabled. |
InvalidAssetOwner | Caller does not own requested asset. |
IncRefError | Increment account reference error. |
InvalidContentSource | Content source is not valid. It must be ascii only and `common::ASSET_CONTENT_SOURCE_MAX_LENGTH` characters long at max. |
InvalidDescription | Description is not valid. It must be `common::ASSET_DESCRIPTION_MAX_LENGTH` characters long at max. |
DeadAsset | The asset is not mintable and its initial balance is 0. |
Overflow | Computation overflow. |