Name | Lookup | Parameters | |
|---|---|---|---|
| create_class | 2400 | 2 | |
| mint | 2401 | 3 | |
| transfer | 2402 | 2 | |
| burn | 2403 | 1 | |
| destroy_class | 2404 | 1 | |
| create_pool | 2405 | 3 | |
| destroy_pool | 2406 | 1 | |
| buy_from_pool | 2407 | 1 | |
| sell_to_pool | 2408 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| TokenClassCreated | 2400 | ["AccountId","ClassId"] | |
| TokenMinted | 2401 | ["AccountId","ClassId","TokenId"] | |
| TokenMintedLockToggled | 2402 | ["AccountId","ClassId","TokenId","bool"] | |
| TokenTransferred | 2403 | ["AccountId","AccountId","ClassId","TokenId"] | |
| TokenBurned | 2404 | ["AccountId","ClassId","TokenId"] | |
| TokenClassDestroyed | 2405 | ["AccountId","ClassId"] | |
| BoughtFromPool | 2406 | ["AccountId","AccountId","ClassId","TokenId"] | |
| SoldToPool | 2407 | ["AccountId","AccountId","ClassId","TokenId"] | |
| TokenPoolCreated | 2408 | ["AccountId","ClassId"] | |
| TokenPoolDestroyed | 2409 | ["AccountId","ClassId"] |
Name | Type | |
|---|---|---|
| PoolItemPrice | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U128","keys_id":8,"value_id":6}} |
Name | Type | Value | |
|---|---|---|---|
| ClassBondAmount | U128 | 0000c16ff28623000000000000000000 |
Name | Docs |
|---|---|
| ClassNotFound | The class does not exist |
| TokenNotFound | The token does not exist |
| NotClassOwner | Not the class owner |
| NotTokenOwner | Not the token owner |
| NonZeroIssuance | The token class is not empty |
| TokenLocked | Token is currently locked |
| CannotSendToSelf | A token can not be transferred to self |
| CannotBuyOwnToken | A user cannot buy already owned token |
| TokenAlreadyHasAnOwner | Token has been already bought from a pool |
| CannotSellPoolToken | A token still owned by class owner |
| NotAPool | Class wasn't created as a pool |
| MetadataTooLong | Metadata exceed the allowed length |