subscan
Runtime Modules / Asset
Spec Version:
Events
Name
Lookup
Attributes
AssetCreated1a00["IdentityId","Ticker","bool","AssetType","IdentityId","AssetName","Vec<AssetIdentifier>","Option<FundingRoundName>"]
IdentifiersUpdated1a01["IdentityId","Ticker","Vec<AssetIdentifier>"]
DivisibilityChanged1a02["IdentityId","Ticker","bool"]
TransferWithData1a03["IdentityId","Ticker","IdentityId","IdentityId","Balance","Bytes"]
IsIssuable1a04["Ticker","bool"]
TickerRegistered1a05["IdentityId","Ticker","Option<Moment>"]
TickerTransferred1a06["IdentityId","Ticker","IdentityId"]
AssetOwnershipTransferred1a07["IdentityId","Ticker","IdentityId"]
AssetFrozen1a08["IdentityId","Ticker"]
AssetUnfrozen1a09["IdentityId","Ticker"]
AssetRenamed1a0a["IdentityId","Ticker","AssetName"]
FundingRoundSet1a0b["IdentityId","Ticker","FundingRoundName"]
DocumentAdded1a0c["IdentityId","Ticker","DocumentId","Document"]
DocumentRemoved1a0d["IdentityId","Ticker","DocumentId"]
ExtensionRemoved1a0e["IdentityId","Ticker","AccountId"]
ControllerTransfer1a0f["IdentityId","Ticker","PortfolioId","Balance"]
CustomAssetTypeExists1a10["IdentityId","CustomAssetTypeId","Bytes"]
CustomAssetTypeRegistered1a11["IdentityId","CustomAssetTypeId","Bytes"]
SetAssetMetadataValue1a12["IdentityId","Ticker","AssetMetadataValue","Option<AssetMetadataValueDetail<Moment>>"]
SetAssetMetadataValueDetails1a13["IdentityId","Ticker","AssetMetadataValueDetail<Moment>"]
RegisterAssetMetadataLocalType1a14["IdentityId","Ticker","AssetMetadataName","AssetMetadataLocalKey","AssetMetadataSpec"]
RegisterAssetMetadataGlobalType1a15["AssetMetadataName","AssetMetadataGlobalKey","AssetMetadataSpec"]
AssetTypeChanged1a16["IdentityId","Ticker","AssetType"]
LocalMetadataKeyDeleted1a17["IdentityId","Ticker","AssetMetadataLocalKey"]
MetadataValueDeleted1a18["IdentityId","Ticker","AssetMetadataKey"]
AssetBalanceUpdated1a19["IdentityId","Ticker","Balance","Option<PortfolioId>","Option<PortfolioId>","PortfolioUpdateReason"]
AssetAffirmationExemption1a1a["Ticker"]
RemoveAssetAffirmationExemption1a1b["Ticker"]
PreApprovedAsset1a1c["IdentityId","Ticker"]
RemovePreApprovedAsset1a1d["IdentityId","Ticker"]
AssetMediatorsAdded1a1e["IdentityId","Ticker","BTreeSet<IdentityId>"]
AssetMediatorsRemoved1a1f["IdentityId","Ticker","BTreeSet<IdentityId>"]
Storage Functions
Name
Type
Tickers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"pallet_asset:TickerRegistration","keys_id":42,"value_id":619}}
TickerConfig{"origin":"PlainType","plain_type":"pallet_asset:TickerRegistrationConfig","PlainTypeValue":620}
Tokens{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"pallet_asset:SecurityToken","keys_id":42,"value_id":621}}
AssetNames{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Vec<U8>","keys_id":42,"value_id":126}}
BalanceOf{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 12]","[U8; 32]"],"value":"U128","keys_id":622,"value_id":6}}
Identifiers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Vec<polymesh_primitives:asset_identifier:AssetIdentifier>","keys_id":42,"value_id":127}}
CustomTypeIdSequence{"origin":"PlainType","plain_type":"U32","PlainTypeValue":124}
CustomTypes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":124,"value_id":12}}
CustomTypesInverse{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":12,"value_id":124}}
FundingRound{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Vec<U8>","keys_id":42,"value_id":132}}
IssuedInFundingRound{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]","Vec<U8>"],"value":"U128","keys_id":623,"value_id":6}}
Frozen{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Bool","keys_id":42,"value_id":74}}
AssetOwnershipRelations{"origin":"Map","n_map_type":{"hashers":["Identity","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 12]"],"value":"pallet_asset:AssetOwnershipRelation","keys_id":624,"value_id":625}}
AssetDocuments{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","U32"],"value":"polymesh_primitives:document:Document","keys_id":626,"value_id":134}}
AssetDocumentsIdSequence{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U32","keys_id":42,"value_id":133}}
AssetMetadataValues{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","polymesh_primitives:asset_metadata:AssetMetadataKey"],"value":"Vec<U8>","keys_id":627,"value_id":145}}
AssetMetadataValueDetails{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","polymesh_primitives:asset_metadata:AssetMetadataKey"],"value":"polymesh_primitives:asset_metadata:AssetMetadataValueDetail","keys_id":627,"value_id":147}}
AssetMetadataLocalNameToKey{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 12]","Vec<U8>"],"value":"U64","keys_id":628,"value_id":150}}
AssetMetadataGlobalNameToKey{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U64","keys_id":149,"value_id":157}}
AssetMetadataLocalKeyToName{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","U64"],"value":"Vec<U8>","keys_id":629,"value_id":149}}
AssetMetadataGlobalKeyToName{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Vec<U8>","keys_id":157,"value_id":149}}
AssetMetadataLocalSpecs{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","U64"],"value":"polymesh_primitives:asset_metadata:AssetMetadataSpec","keys_id":629,"value_id":151}}
AssetMetadataGlobalSpecs{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"polymesh_primitives:asset_metadata:AssetMetadataSpec","keys_id":157,"value_id":151}}
AssetMetadataNextLocalKey{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U64","keys_id":42,"value_id":150}}
AssetMetadataNextGlobalKey{"origin":"PlainType","plain_type":"U64","PlainTypeValue":157}
TickersExemptFromAffirmation{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Bool","keys_id":42,"value_id":74}}
PreApprovedTicker{"origin":"Map","n_map_type":{"hashers":["Identity","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 12]"],"value":"Bool","keys_id":624,"value_id":74}}
MandatoryMediators{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Vec<[U8; 32]>","keys_id":42,"value_id":478}}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":630}
Constants
Name
Type
Value
AssetNameMaxLengthU3280000000
FundingRoundNameMaxLengthU3280000000
AssetMetadataNameMaxLengthU3200010000
AssetMetadataValueMaxLengthU3200200000
AssetMetadataTypeDefMaxLengthU3200200000
Error Types
Name
Docs
UnauthorizedThe user is not authorized.
AssetAlreadyCreatedThe token has already been created.
TickerTooLongThe ticker length is over the limit.
TickerNotAlphanumericThe ticker has non-alphanumeric parts.
TickerAlreadyRegisteredThe ticker is already registered to someone else.
TotalSupplyAboveLimitThe total supply is above the limit.
NoSuchAssetNo such token.
AlreadyFrozenThe token is already frozen.
NotAnOwnerNot an owner of the token on Ethereum.
BalanceOverflowAn overflow while calculating the balance.
TotalSupplyOverflowAn overflow while calculating the total supply.
InvalidGranularityAn invalid granularity.
NotFrozenThe asset must be frozen.
InvalidTransferTransfer validation check failed.
InsufficientBalanceThe sender balance is not sufficient.
AssetAlreadyDivisibleThe token is already divisible.
InvalidEthereumSignatureAn invalid Ethereum `EcdsaSignature`.
TickerRegistrationExpiredRegistration of ticker has expired.
SenderSameAsReceiverTransfers to self are not allowed
NoSuchDocThe given Document does not exist.
MaxLengthOfAssetNameExceededMaximum length of asset name has been exceeded.
FundingRoundNameMaxLengthExceededMaximum length of the funding round name has been exceeded.
InvalidAssetIdentifierSome `AssetIdentifier` was invalid.
InvestorUniquenessClaimNotAllowedInvestor Uniqueness claims are not allowed for this asset.
InvalidCustomAssetTypeIdInvalid `CustomAssetTypeId`.
AssetMetadataNameMaxLengthExceededMaximum length of the asset metadata type name has been exceeded.
AssetMetadataValueMaxLengthExceededMaximum length of the asset metadata value has been exceeded.
AssetMetadataTypeDefMaxLengthExceededMaximum length of the asset metadata type definition has been exceeded.
AssetMetadataKeyIsMissingAsset Metadata key is missing.
AssetMetadataValueIsLockedAsset Metadata value is locked.
AssetMetadataLocalKeyAlreadyExistsAsset Metadata Local type already exists for asset.
AssetMetadataGlobalKeyAlreadyExistsAsset Metadata Global type already exists.
TickerFirstByteNotValidTickers should start with at least one valid byte.
UnexpectedNonFungibleTokenAttempt to call an extrinsic that is only permitted for fungible tokens.
IncompatibleAssetTypeUpdateAttempt to update the type of a non fungible token to a fungible token or the other way around.
AssetMetadataKeyBelongsToNFTCollectionAttempt to delete a key that is needed for an NFT collection.
AssetMetadataValueIsEmptyAttempt to lock a metadata value that is empty.
NumberOfAssetMediatorsExceededNumber of asset mediators would exceed the maximum allowed.
InvalidTickerCharacterInvalid ticker character - valid set: A`..`Z` `0`..`9` `_` `-` `.` `/`.