basilisk
subscan
Runtime Modules / NFT
Spec Version:
Call Functions
Name
Lookup
Parameters
create_class23002
mint23013
transfer23022
burn23031
destroy_class23041
create_pool23053
destroy_pool23061
buy_from_pool23071
sell_to_pool23081
Storage Functions
Name
Type
PoolItemPrice{"origin":"MapType","map_type":{"key":"ClassIdOf","hasher":"Blake2_128Concat","value":"BalanceOf","isLinked":false}}
Constants
Name
Type
Value
ClassBondAmountBalanceOf0x0000c16ff28623000000000000000000
Error Types
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