subscan
Runtime Modules / Assets
Spec Version:
Events
Name
Lookup
Attributes
Created6800["AssetId","AccountId","AccountId"]
Issued6801["AssetId","AccountId","Balance"]
Transferred6802["AssetId","AccountId","AccountId","Balance"]
Burned6803["AssetId","AccountId","Balance"]
TeamChanged6804["AssetId","AccountId","AccountId","AccountId"]
OwnerChanged6805["AssetId","AccountId"]
Frozen6806["AssetId","AccountId"]
Thawed6807["AssetId","AccountId"]
AssetFrozen6808["AssetId"]
AssetThawed6809["AssetId"]
Destroyed680a["AssetId"]
ForceCreated680b["AssetId","AccountId"]
MetadataSet680c["AssetId","Bytes","Bytes","u8","bool"]
MetadataCleared680d["AssetId"]
ApprovedTransfer680e["AssetId","AccountId","AccountId","Balance"]
ApprovalCancelled680f["AssetId","AccountId","AccountId"]
TransferredApproved6810["AssetId","AccountId","AccountId","AccountId","Balance"]
AssetStatusChanged6811["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":495}}
Account{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","[U8; 20]"],"value":"pallet_assets:types:AssetAccount","keys_id":496,"value_id":497}}
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":499,"value_id":500}}
Metadata{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"pallet_assets:types:AssetMetadata","keys_id":6,"value_id":501}}
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.