Name | Lookup | Parameters | |
|---|---|---|---|
| register_unique_ticker | 1a00 | 1 | |
| accept_ticker_transfer | 1a01 | 1 | |
| accept_asset_ownership_transfer | 1a02 | 1 | |
| create_asset | 1a03 | 5 | |
| freeze | 1a04 | 1 | |
| unfreeze | 1a05 | 1 | |
| rename_asset | 1a06 | 2 | |
| issue | 1a07 | 3 | |
| redeem | 1a08 | 3 | |
| make_divisible | 1a09 | 1 | |
| add_documents | 1a0a | 2 | |
| remove_documents | 1a0b | 2 | |
| set_funding_round | 1a0c | 2 | |
| update_identifiers | 1a0d | 2 | |
| controller_transfer | 1a0e | 3 | |
| register_custom_asset_type | 1a0f | 1 | |
| create_asset_with_custom_type | 1a10 | 5 | |
| set_asset_metadata | 1a11 | 4 | |
| set_asset_metadata_details | 1a12 | 3 | |
| register_and_set_local_asset_metadata | 1a13 | 5 | |
| register_asset_metadata_local_type | 1a14 | 3 | |
| register_asset_metadata_global_type | 1a15 | 2 | |
| update_asset_type | 1a16 | 2 | |
| remove_local_metadata_key | 1a17 | 2 | |
| remove_metadata_value | 1a18 | 2 | |
| exempt_asset_affirmation | 1a19 | 1 | |
| remove_asset_affirmation_exemption | 1a1a | 1 | |
| pre_approve_asset | 1a1b | 1 | |
| remove_asset_pre_approval | 1a1c | 1 | |
| add_mandatory_mediators | 1a1d | 2 | |
| remove_mandatory_mediators | 1a1e | 2 | |
| link_ticker_to_asset_id | 1a1f | 2 | |
| unlink_ticker_from_asset_id | 1a20 | 2 | |
| update_global_metadata_spec | 1a21 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| AssetCreated | 1a00 | ["IdentityId","AssetId","bool","AssetType","IdentityId","AssetName","Vec<AssetIdentifier>","Option<FundingRoundName>"] | |
| IdentifiersUpdated | 1a01 | ["IdentityId","AssetId","Vec<AssetIdentifier>"] | |
| DivisibilityChanged | 1a02 | ["IdentityId","AssetId","bool"] | |
| TickerRegistered | 1a03 | ["IdentityId","Ticker","Option<Moment>"] | |
| TickerTransferred | 1a04 | ["IdentityId","Ticker","IdentityId"] | |
| AssetOwnershipTransferred | 1a05 | ["IdentityId","AssetId","IdentityId"] | |
| AssetFrozen | 1a06 | ["IdentityId","AssetId"] | |
| AssetUnfrozen | 1a07 | ["IdentityId","AssetId"] | |
| AssetRenamed | 1a08 | ["IdentityId","AssetId","AssetName"] | |
| FundingRoundSet | 1a09 | ["IdentityId","AssetId","FundingRoundName"] | |
| DocumentAdded | 1a0a | ["IdentityId","AssetId","DocumentId","Document"] | |
| DocumentRemoved | 1a0b | ["IdentityId","AssetId","DocumentId"] | |
| ControllerTransfer | 1a0c | ["IdentityId","AssetId","PortfolioId","Balance"] | |
| CustomAssetTypeExists | 1a0d | ["IdentityId","CustomAssetTypeId","Bytes"] | |
| CustomAssetTypeRegistered | 1a0e | ["IdentityId","CustomAssetTypeId","Bytes"] | |
| SetAssetMetadataValue | 1a0f | ["IdentityId","AssetId","AssetMetadataValue","Option<AssetMetadataValueDetail<Moment>>"] | |
| SetAssetMetadataValueDetails | 1a10 | ["IdentityId","AssetId","AssetMetadataValueDetail<Moment>"] | |
| RegisterAssetMetadataLocalType | 1a11 | ["IdentityId","AssetId","AssetMetadataName","AssetMetadataLocalKey","AssetMetadataSpec"] | |
| RegisterAssetMetadataGlobalType | 1a12 | ["AssetMetadataName","AssetMetadataGlobalKey","AssetMetadataSpec"] | |
| AssetTypeChanged | 1a13 | ["IdentityId","AssetId","AssetType"] | |
| LocalMetadataKeyDeleted | 1a14 | ["IdentityId","AssetId","AssetMetadataLocalKey"] | |
| MetadataValueDeleted | 1a15 | ["IdentityId","AssetId","AssetMetadataKey"] | |
| AssetBalanceUpdated | 1a16 | ["IdentityId","AssetId","Balance","Option<PortfolioId>","Option<PortfolioId>","PortfolioUpdateReason"] | |
| AssetAffirmationExemption | 1a17 | ["AssetId"] | |
| RemoveAssetAffirmationExemption | 1a18 | ["AssetId"] | |
| PreApprovedAsset | 1a19 | ["IdentityId","AssetId"] | |
| RemovePreApprovedAsset | 1a1a | ["IdentityId","AssetId"] | |
| AssetMediatorsAdded | 1a1b | ["IdentityId","AssetId","BTreeSet<IdentityId>"] | |
| AssetMediatorsRemoved | 1a1c | ["IdentityId","AssetId","BTreeSet<IdentityId>"] | |
| TickerLinkedToAsset | 1a1d | ["IdentityId","Ticker","AssetId"] | |
| TickerUnlinkedFromAsset | 1a1e | ["IdentityId","Ticker","AssetId"] | |
| GlobalMetadataSpecUpdated | 1a1f | ["AssetMetadataName","AssetMetadataSpec"] |
Name | Type | |
|---|---|---|
| UniqueTickerRegistration | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"pallet_asset:types:TickerRegistration","keys_id":72,"value_id":615}} | |
| TickerConfig | {"origin":"PlainType","plain_type":"pallet_asset:types:TickerRegistrationConfig","PlainTypeValue":616} | |
| Assets | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"pallet_asset:types:AssetDetails","keys_id":42,"value_id":617}} | |
| AssetNames | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"Vec<U8>","keys_id":42,"value_id":118}} | |
| BalanceOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 16]","[U8; 32]"],"value":"U128","keys_id":618,"value_id":6}} | |
| AssetIdentifiers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"Vec<polymesh_primitives:asset_identifier:AssetIdentifier>","keys_id":42,"value_id":119}} | |
| CustomTypeIdSequence | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":116} | |
| CustomTypes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":116,"value_id":12}} | |
| CustomTypesInverse | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":12,"value_id":116}} | |
| FundingRound | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"Vec<U8>","keys_id":42,"value_id":124}} | |
| IssuedInFundingRound | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Tuple:[U8; 16]Vec<U8>"],"value":"U128","keys_id":619,"value_id":6}} | |
| Frozen | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"Bool","keys_id":42,"value_id":78}} | |
| AssetDocuments | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","U32"],"value":"polymesh_primitives:document:Document","keys_id":620,"value_id":126}} | |
| AssetDocumentsIdSequence | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"U32","keys_id":42,"value_id":125}} | |
| AssetMetadataValues | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","polymesh_primitives:asset_metadata:AssetMetadataKey"],"value":"Vec<U8>","keys_id":621,"value_id":137}} | |
| AssetMetadataValueDetails | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","polymesh_primitives:asset_metadata:AssetMetadataKey"],"value":"polymesh_primitives:asset_metadata:AssetMetadataValueDetail","keys_id":621,"value_id":139}} | |
| AssetMetadataLocalNameToKey | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 16]","Vec<U8>"],"value":"U64","keys_id":622,"value_id":142}} | |
| AssetMetadataGlobalNameToKey | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U64","keys_id":141,"value_id":149}} | |
| AssetMetadataLocalKeyToName | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","U64"],"value":"Vec<U8>","keys_id":623,"value_id":141}} | |
| AssetMetadataGlobalKeyToName | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Vec<U8>","keys_id":149,"value_id":141}} | |
| AssetMetadataLocalSpecs | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 16]","U64"],"value":"polymesh_primitives:asset_metadata:AssetMetadataSpec","keys_id":623,"value_id":143}} | |
| AssetMetadataGlobalSpecs | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"polymesh_primitives:asset_metadata:AssetMetadataSpec","keys_id":149,"value_id":143}} | |
| AssetsExemptFromAffirmation | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"Bool","keys_id":42,"value_id":78}} | |
| PreApprovedAsset | {"origin":"Map","n_map_type":{"hashers":["Identity","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 16]"],"value":"Bool","keys_id":624,"value_id":78}} | |
| MandatoryMediators | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"Vec<[U8; 32]>","keys_id":42,"value_id":420}} | |
| CurrentAssetMetadataLocalKey | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"U64","keys_id":42,"value_id":142}} | |
| CurrentAssetMetadataGlobalKey | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":149} | |
| TickersOwnedByUser | {"origin":"Map","n_map_type":{"hashers":["Identity","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 12]"],"value":"Bool","keys_id":625,"value_id":78}} | |
| SecurityTokensOwnedByUser | {"origin":"Map","n_map_type":{"hashers":["Identity","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 16]"],"value":"Bool","keys_id":624,"value_id":78}} | |
| AssetIdTicker | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 16]"],"value":"[U8; 12]","keys_id":42,"value_id":72}} | |
| TickerAssetId | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"[U8; 16]","keys_id":72,"value_id":42}} | |
| AssetNonce | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["AccountId"],"value":"U64","keys_id":0,"value_id":10}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":626} |
Name | Type | Value | |
|---|---|---|---|
| AssetNameMaxLength | U32 | 80000000 | |
| FundingRoundNameMaxLength | U32 | 80000000 | |
| AssetMetadataNameMaxLength | U32 | 00010000 | |
| AssetMetadataValueMaxLength | U32 | 00200000 | |
| AssetMetadataTypeDefMaxLength | U32 | 00200000 | |
| MaxAssetMediators | U32 | 04000000 |
Name | Docs |
|---|---|
| Unauthorized | The user is not authorized. |
| AssetAlreadyCreated | The token has already been created. |
| TickerTooLong | The ticker length is over the limit. |
| TickerNotAlphanumeric | The ticker has non-alphanumeric parts. |
| TickerAlreadyRegistered | The ticker is already registered to someone else. |
| TotalSupplyAboveLimit | The total supply is above the limit. |
| NoSuchAsset | No token associated to the given asset ID. |
| AlreadyFrozen | The token is already frozen. |
| NotAnOwner | Not an owner of the token on Ethereum. |
| BalanceOverflow | An overflow while calculating the balance. |
| TotalSupplyOverflow | An overflow while calculating the total supply. |
| InvalidGranularity | An invalid granularity. |
| NotFrozen | The asset must be frozen. |
| InvalidTransfer | Transfer validation check failed. |
| InsufficientBalance | The sender balance is not sufficient. |
| AssetAlreadyDivisible | The token is already divisible. |
| InvalidEthereumSignature | An invalid Ethereum `EcdsaSignature`. |
| TickerRegistrationExpired | Registration of ticker has expired. |
| SenderSameAsReceiver | Transfers to self are not allowed |
| NoSuchDoc | The given Document does not exist. |
| MaxLengthOfAssetNameExceeded | Maximum length of asset name has been exceeded. |
| FundingRoundNameMaxLengthExceeded | Maximum length of the funding round name has been exceeded. |
| InvalidAssetIdentifier | Some `AssetIdentifier` was invalid. |
| InvestorUniquenessClaimNotAllowed | Investor Uniqueness claims are not allowed for this asset. |
| InvalidCustomAssetTypeId | Invalid `CustomAssetTypeId`. |
| AssetMetadataNameMaxLengthExceeded | Maximum length of the asset metadata type name has been exceeded. |
| AssetMetadataValueMaxLengthExceeded | Maximum length of the asset metadata value has been exceeded. |
| AssetMetadataTypeDefMaxLengthExceeded | Maximum length of the asset metadata type definition has been exceeded. |
| AssetMetadataKeyIsMissing | Asset Metadata key is missing. |
| AssetMetadataValueIsLocked | Asset Metadata value is locked. |
| AssetMetadataLocalKeyAlreadyExists | Asset Metadata Local type already exists for asset. |
| AssetMetadataGlobalKeyAlreadyExists | Asset Metadata Global type already exists. |
| TickerFirstByteNotValid | Tickers should start with at least one valid byte. |
| UnexpectedNonFungibleToken | Attempt to call an extrinsic that is only permitted for fungible tokens. |
| IncompatibleAssetTypeUpdate | Attempt to update the type of a non fungible token to a fungible token or the other way around. |
| AssetMetadataKeyBelongsToNFTCollection | Attempt to delete a key that is needed for an NFT collection. |
| AssetMetadataValueIsEmpty | Attempt to lock a metadata value that is empty. |
| NumberOfAssetMediatorsExceeded | Number of asset mediators would exceed the maximum allowed. |
| InvalidTickerCharacter | Invalid ticker character - valid set: A`..`Z` `0`..`9` `_` `-` `.` `/`. |
| InvalidTransferFrozenAsset | Failed to transfer the asset - asset is frozen. |
| InvalidTransferComplianceFailure | Failed to transfer an NFT - compliance failed. |
| InvalidTransferInvalidReceiverCDD | Failed to transfer the asset - receiver cdd is not valid. |
| InvalidTransferInvalidSenderCDD | Failed to transfer the asset - sender cdd is not valid. |
| TickerRegistrationNotFound | The ticker registration associated to the ticker was not found. |
| TickerIsAlreadyLinkedToAnAsset | The given ticker is already linked to an asset. |
| AssetIdGenerationError | An unexpected error when generating a new asset ID. |
| TickerNotRegisteredToCaller | The ticker doesn't belong to the caller. |
| AssetIsAlreadyLinkedToATicker | The given asset is already linked to a ticker. |
| TickerIsNotLinkedToTheAsset | The given ticker is not linked to the given asset. |
| BadAuthorizationType | The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is. |