SORA
subscan
Runtime Modules / Assets
Spec Version:
Call Functions
Name
Lookup
Parameters
register15007
transfer15013
mint15023
force_mint15033
burn15042
update_balance15053
set_non_mintable15061
update_info15073
Events
Name
Lookup
Attributes
AssetRegistered1500["AssetIdOf","AccountIdOf"]
Transfer1501["AccountIdOf","AccountIdOf","AssetIdOf","Balance"]
Mint1502["AccountIdOf","AccountIdOf","AssetIdOf","Balance"]
Burn1503["AccountIdOf","AssetIdOf","Balance"]
AssetSetNonMintable1504["AssetIdOf"]
AssetUpdated1505["AssetIdOf","Option<AssetSymbol>","Option<AssetName>"]
Storage Functions
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}}
Error Types
Name
Docs
AssetIdAlreadyExistsAn asset with a given ID already exists.
AssetIdNotExistsAn asset with a given ID not exists.
InsufficientBalanceA number is out of range of the balance type.
InvalidAssetSymbolSymbol is not valid. It must contain only uppercase latin characters or numbers, length is from 1 to 7.
InvalidAssetNameName is not valid. It must contain only uppercase or lowercase latin characters or numbers or spaces, length is from 1 to 33.
InvalidPrecisionPrecision value is not valid, it should represent a number of decimal places for number, max is 30.
AssetSupplyIsNotMintableMinting for particular asset id is disabled.
InvalidAssetOwnerCaller does not own requested asset.
IncRefErrorIncrement account reference error.
InvalidContentSourceContent source is not valid. It must be ascii only and `common::ASSET_CONTENT_SOURCE_MAX_LENGTH` characters long at max.
InvalidDescriptionDescription is not valid. It must be `common::ASSET_DESCRIPTION_MAX_LENGTH` characters long at max.
DeadAssetThe asset is not mintable and its initial balance is 0.
OverflowComputation overflow.