Name | Type | |
|---|---|---|
| NextClassId | {"origin":"PlainType","plain_type":"ClassId"} | |
| NextTokenId | {"origin":"MapType","map_type":{"key":"ClassId","hasher":"Twox64Concat","value":"TokenId","isLinked":false}} | |
| Classes | {"origin":"MapType","map_type":{"key":"ClassId","hasher":"Twox64Concat","value":"ClassInfoOf","isLinked":false}} | |
| Tokens | {"origin":"DoubleMapType","double_map_type":{"key":"ClassId","key2":"TokenId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"TokenInfoOf","isLinked":false}} | |
| TokensByOwner | {"origin":"DoubleMapType","double_map_type":{"key":"AccountId","key2":"(ClassId, TokenId)","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"Null","isLinked":false}} |
Name | Docs |
|---|---|
| NoAvailableClassId | No available class ID |
| NoAvailableTokenId | No available token ID |
| TokenNotFound | Token(ClassId, TokenId) not found |
| ClassNotFound | Class not found |
| NoPermission | The operator is not the owner of the token and has no permission |
| CannotDestroyClass | Can not destroy class Total issuance is not 0 |
| MaxMetadataExceeded | Failed because the Maximum amount of metadata was exceeded |