Name | Lookup | Parameters | |
---|---|---|---|
mint | 3300 | 1 | |
forge | 3301 | 2 | |
transfer_avatar | 3302 | 2 | |
transfer_free_mints | 3303 | 2 | |
set_price | 3304 | 2 | |
remove_price | 3305 | 1 | |
buy | 3306 | 1 | |
upgrade_storage | 3307 | 2 | |
set_organizer | 3308 | 1 | |
set_treasurer | 3309 | 2 | |
claim_treasury | 330a | 1 | |
set_season | 330b | 2 | |
update_global_config | 330c | 1 | |
set_free_mints | 330d | 2 | |
set_collection_id | 330e | 1 | |
lock_avatar | 330f | 1 | |
unlock_avatar | 3310 | 1 | |
set_service_account | 3311 | 1 | |
prepare_avatar | 3312 | 1 | |
unprepare_avatar | 3313 | 1 | |
prepare_ipfs | 3314 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
OrganizerSet | 3300 | ["AccountId"] | |
ServiceAccountSet | 3301 | ["AccountId"] | |
CollectionIdSet | 3302 | ["CollectionIdOf"] | |
TreasurerSet | 3303 | ["SeasonId","AccountId"] | |
TreasuryClaimed | 3304 | ["SeasonId","AccountId","BalanceOf"] | |
UpdatedSeason | 3305 | ["SeasonId","SeasonOf"] | |
UpdatedGlobalConfig | 3306 | ["GlobalConfigOf"] | |
AvatarsMinted | 3307 | ["Vec<AvatarIdOf>"] | |
AvatarsForged | 3308 | ["Vec<(AvatarIdOf, UpgradedComponents)>"] | |
AvatarTransferred | 3309 | ["AccountId","AccountId","AvatarIdOf"] | |
SeasonStarted | 330a | ["SeasonId"] | |
SeasonFinished | 330b | ["SeasonId"] | |
FreeMintsTransferred | 330c | ["AccountId","AccountId","MintCount"] | |
FreeMintsSet | 330d | ["AccountId","MintCount"] | |
AvatarPriceSet | 330e | ["AvatarIdOf","BalanceOf"] | |
AvatarPriceUnset | 330f | ["AvatarIdOf"] | |
AvatarTraded | 3310 | ["AvatarIdOf","AccountId","AccountId"] | |
AvatarLocked | 3311 | ["AvatarIdOf"] | |
AvatarUnlocked | 3312 | ["AvatarIdOf"] | |
StorageTierUpgraded | 3313 | ["AccountId","SeasonId"] | |
PreparedAvatar | 3314 | ["AvatarIdOf"] | |
UnpreparedAvatar | 3315 | ["AvatarIdOf"] | |
PreparedIpfsUrl | 3316 | ["IpfsUrl"] |
Name | Type | |
---|---|---|
Organizer | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
Treasurer | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U16"],"value":"AccountId","keys_id":42,"value_id":0}} | |
CurrentSeasonStatus | {"origin":"PlainType","plain_type":"pallet_ajuna_awesome_avatars:types:season:SeasonStatus","PlainTypeValue":508} | |
Seasons | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U16"],"value":"pallet_ajuna_awesome_avatars:types:season:Season","keys_id":42,"value_id":141}} | |
Treasury | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U16"],"value":"U128","keys_id":42,"value_id":6}} | |
GlobalConfigs | {"origin":"PlainType","plain_type":"pallet_ajuna_awesome_avatars:types:config:GlobalConfig","PlainTypeValue":153} | |
Avatars | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:AccountIdpallet_ajuna_awesome_avatars:types:avatar:Avatar","keys_id":12,"value_id":509}} | |
Owners | {"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["AccountId","U16"],"value":"Vec<H256>","keys_id":512,"value_id":513}} | |
LockedAvatars | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"NULL","keys_id":12,"value_id":36}} | |
CollectionId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
PlayerConfigs | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["AccountId"],"value":"U16","keys_id":0,"value_id":514}} | |
PlayerSeasonConfigs | {"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["AccountId","U16"],"value":"pallet_ajuna_awesome_avatars:types:account:PlayerSeasonConfig","keys_id":512,"value_id":515}} | |
SeasonStats | {"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["U16","AccountId"],"value":"pallet_ajuna_awesome_avatars:types:account:SeasonInfo","keys_id":523,"value_id":524}} | |
Trade | {"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["U16","H256"],"value":"U128","keys_id":525,"value_id":6}} | |
ServiceAccount | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
Preparation | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":12,"value_id":162}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 616a2f6161617472 | |
KeyLimit | U32 | 20000000 | |
ValueLimit | U32 | 40000000 |
Name | Docs |
---|---|
OrganizerNotSet | There is no account set as the organizer |
CollectionIdNotSet | There is no collection ID set for NFT handler. |
EarlyStartTooEarly | The season starts before the previous season has ended. |
EarlyStartTooLate | The season season start later than its early access |
SeasonStartTooLate | The season start date is newer than its end date. |
SeasonEndTooLate | The season ends after the new season has started. |
PeriodConfigOverflow | The season's per period and periods configuration overflows. |
PeriodsIndivisible | The season's periods configuration is indivisible by max variation. |
UnknownSeason | The season doesn't exist. |
UnknownAvatar | The avatar doesn't exist. |
UnknownAvatarForSale | The avatar for sale doesn't exist. |
UnknownTier | The tier doesn't exist. |
UnknownTreasurer | The treasurer doesn't exist. |
UnknownPreparation | The preparation doesn't exist. |
NonSequentialSeasonId | The season ID of a season to create is not sequential. |
SingleMintProbsOverflow | The sum of the given single mint probabilities overflows. |
BatchMintProbsOverflow | The sum of the given batch mint probabilities overflows. |
IncorrectRarityPercentages | Rarity percentages don't add up to 100 |
TooManyRarityPercentages | Max tier is achievable through forging only. Therefore the number of rarity percentagesmust be less than that of tiers for a season. |
BaseProbTooHigh | The given base probability is too high. It must be less than 100. |
DuplicatedRarityTier | Some rarity tier are duplicated. |
MintClosed | Minting is not available at the moment. |
ForgeClosed | Forging is not available at the moment. |
TransferClosed | Transfer is not available at the moment. |
TradeClosed | Trading is not available at the moment. |
NftTransferClosed | NFT transfer is not available at the moment. |
SeasonClosed | Attempt to mint or forge outside of an active season. |
PrematureSeasonEnd | Attempt to mint when the season has ended prematurely. |
MaxOwnershipReached | Max ownership reached. |
MaxStorageTierReached | Max storage tier reached. |
Ownership | Avatar belongs to someone else. |
AlreadyOwned | Attempt to buy his or her own avatar. |
IncorrectDna | Incorrect DNA. |
IncorrectData | Incorrect data. |
IncorrectAvatarId | Incorrect Avatar ID. |
IncorrectSeasonId | Incorrect season ID. |
MintCooldown | The player must wait cooldown period. |
MaxComponentsTooLow | The season's max components value is less than the minimum allowed (1). |
MaxComponentsTooHigh | The season's max components value is more than the maximum allowed (random byte: 32). |
MaxVariationsTooLow | The season's max variations value is less than the minimum allowed (1). |
MaxVariationsTooHigh | The season's max variations value is more than the maximum allowed (15). |
InsufficientFreeMints | The player has not enough free mints available. |
InsufficientBalance | The player has not enough balance available. |
TooLowFreeMints | Attempt to transfer, issue or withdraw free mints lower than the minimum allowed. |
TooFewSacrifices | Less than minimum allowed sacrifices are used for forging. |
TooManySacrifices | More than maximum allowed sacrifices are used for forging. |
LeaderSacrificed | Leader is being sacrificed. |
AvatarCannotBeTraded | This avatar cannot be used in trades. |
AvatarInTrade | An avatar listed for trade is used to forge. |
AvatarLocked | The avatar is currently locked and cannot be used. |
AvatarUnlocked | The avatar is currently unlocked and cannot be locked again. |
IncorrectAvatarSeason | Tried to forge avatars from different seasons. |
IncompatibleAvatarVersions | Tried to forge avatars with different DNA versions. |
InsufficientStorageForForging | There's not enough space to hold the forging results |
CannotTransferToSelf | Tried transferring to his or her own account. |
CannotTransferFromInactiveAccount | Tried transferring while the account still hasn't minted and forged anything. |
CannotClaimDuringSeason | Tried claiming treasury during a season. |
CannotClaimZero | Tried claiming treasury which is zero. |
IncompatibleMintComponents | The components tried to mint were not compatible. |
IncompatibleForgeComponents | The components tried to forge were not compatible. |
InsufficientSacrifices | The amount of sacrifices is not sufficient for forging. |
ExcessiveSacrifices | The amount of sacrifices is too much for forging. |
AlreadyPrepared | Tried to prepare an already prepared avatar. |
NotPrepared | Tried to prepare an IPFS URL for an avatar, that is not yet prepared. |
NoServiceAccount | No service account has been set. |
EmptyIpfsUrl | Tried to prepare an IPFS URL for an avatar with an empty URL. |