subscan
Runtime Modules / LocalAssets
Spec Version:
Events
Name
Lookup
Attributes
Created6c00["AssetId","AccountId","AccountId"]
Issued6c01["AssetId","AccountId","Balance"]
Transferred6c02["AssetId","AccountId","AccountId","Balance"]
Burned6c03["AssetId","AccountId","Balance"]
TeamChanged6c04["AssetId","AccountId","AccountId","AccountId"]
OwnerChanged6c05["AssetId","AccountId"]
Frozen6c06["AssetId","AccountId"]
Thawed6c07["AssetId","AccountId"]
AssetFrozen6c08["AssetId"]
AssetThawed6c09["AssetId"]
Destroyed6c0a["AssetId"]
ForceCreated6c0b["AssetId","AccountId"]
MetadataSet6c0c["AssetId","Bytes","Bytes","u8","bool"]
MetadataCleared6c0d["AssetId"]
ApprovedTransfer6c0e["AssetId","AccountId","AccountId","Balance"]
ApprovalCancelled6c0f["AssetId","AccountId","AccountId"]
TransferredApproved6c10["AssetId","AccountId","AccountId","AccountId","Balance"]
AssetStatusChanged6c11["AssetId"]
Storage Functions
Name
Type
Asset{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"pallet_assets:types:AssetDetails","keys_id":6,"value_id":481}}
Account{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","[U8; 20]"],"value":"pallet_assets:types:AssetAccount","keys_id":482,"value_id":483}}
Approvals{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","[U8; 20]","[U8; 20]"],"value":"pallet_assets:types:Approval","keys_id":485,"value_id":486}}
Metadata{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"pallet_assets:types:AssetMetadata","keys_id":6,"value_id":487}}
Constants
Name
Type
Value
AssetDepositU128000040b2bac9e0191e02000000000000
AssetAccountDepositU12800007a6510a0468d0000000000000000
MetadataDepositBaseU12800002c396afb36940000000000000000
MetadataDepositPerByteU1280000c16ff28623000000000000000000
ApprovalDepositU12800000000000000000000000000000000
StringLimitU3232000000
Error Types
Name
Docs
BalanceLowAccount balance must be greater than or equal to the transfer amount.
NoAccountThe account to alter does not exist.
NoPermissionThe signing account has no permission to do the operation.
UnknownThe given asset ID is unknown.
FrozenThe origin account is frozen.
InUseThe asset ID is already taken.
BadWitnessInvalid witness data given.
MinBalanceZeroMinimum balance should be non-zero.
NoProviderUnable to increment the consumer reference counters on the account. Either no providerreference exists to allow a non-zero balance of a non-self-sufficient asset, or themaximum number of consumers has been reached.
BadMetadataInvalid metadata given.
UnapprovedNo approval exists that would allow the transfer.
WouldDieThe source account would not survive the transfer and it needs to stay alive.
AlreadyExistsThe asset-account already exists.
NoDepositThe asset-account doesn't have an associated deposit.
WouldBurnThe operation would result in funds being burned.