Name | Lookup | Parameters | |
---|---|---|---|
register | 1500 | 7 | |
transfer | 1501 | 3 | |
mint | 1502 | 3 | |
burn | 1503 | 2 | |
set_non_mintable | 1504 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
AssetRegistered | 1500 | ||
Transfer | 1501 | ||
Mint | 1502 | ||
Burn | 1503 | ||
AssetSetNonMintable | 1504 |
Name | Type | |
---|---|---|
AssetOwners | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"AccountId","isLinked":false}} | |
AssetInfos | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"(AssetSymbol, AssetName, BalancePrecision, bool, Option<ContentSource>, Option<Description>,)","isLinked":false}} | |
AssetRecordAssetId | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"AssetRecord","isLinked":false}} |
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. |
InvalidDescription | Description is not valid. It must be 200 characters long at max. |
DeadAsset | The asset is not mintable and its initial balance is 0. |