subscan
Runtime Modules / AwesomeAvatars
Spec Version:
Events
Name
Lookup
Attributes
OrganizerSet3300["AccountId"]
ServiceAccountSet3301["AccountId"]
CollectionIdSet3302["CollectionIdOf"]
TreasurerSet3303["SeasonId","AccountId"]
TreasuryClaimed3304["SeasonId","AccountId","BalanceOf"]
UpdatedSeason3305["SeasonId","SeasonOf"]
UpdatedGlobalConfig3306["GlobalConfigOf"]
AvatarsMinted3307["Vec<AvatarIdOf>"]
AvatarsForged3308["Vec<(AvatarIdOf, UpgradedComponents)>"]
AvatarTransferred3309["AccountId","AccountId","AvatarIdOf"]
SeasonStarted330a["SeasonId"]
SeasonFinished330b["SeasonId"]
FreeMintsTransferred330c["AccountId","AccountId","MintCount"]
FreeMintsSet330d["AccountId","MintCount"]
AvatarPriceSet330e["AvatarIdOf","BalanceOf"]
AvatarPriceUnset330f["AvatarIdOf"]
AvatarTraded3310["AvatarIdOf","AccountId","AccountId"]
AvatarLocked3311["AvatarIdOf"]
AvatarUnlocked3312["AvatarIdOf"]
StorageTierUpgraded3313["AccountId","SeasonId"]
PreparedAvatar3314["AvatarIdOf"]
UnpreparedAvatar3315["AvatarIdOf"]
PreparedIpfsUrl3316["IpfsUrl"]
Storage Functions
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}}
Constants
Name
Type
Value
PalletId[U8; 8]616a2f6161617472
KeyLimitU3220000000
ValueLimitU3240000000
Error Types
Name
Docs
OrganizerNotSetThere is no account set as the organizer
CollectionIdNotSetThere is no collection ID set for NFT handler.
EarlyStartTooEarlyThe season starts before the previous season has ended.
EarlyStartTooLateThe season season start later than its early access
SeasonStartTooLateThe season start date is newer than its end date.
SeasonEndTooLateThe season ends after the new season has started.
PeriodConfigOverflowThe season's per period and periods configuration overflows.
PeriodsIndivisibleThe season's periods configuration is indivisible by max variation.
UnknownSeasonThe season doesn't exist.
UnknownAvatarThe avatar doesn't exist.
UnknownAvatarForSaleThe avatar for sale doesn't exist.
UnknownTierThe tier doesn't exist.
UnknownTreasurerThe treasurer doesn't exist.
UnknownPreparationThe preparation doesn't exist.
NonSequentialSeasonIdThe season ID of a season to create is not sequential.
SingleMintProbsOverflowThe sum of the given single mint probabilities overflows.
BatchMintProbsOverflowThe sum of the given batch mint probabilities overflows.
IncorrectRarityPercentagesRarity percentages don't add up to 100
TooManyRarityPercentagesMax tier is achievable through forging only. Therefore the number of rarity percentagesmust be less than that of tiers for a season.
BaseProbTooHighThe given base probability is too high. It must be less than 100.
DuplicatedRarityTierSome rarity tier are duplicated.
MintClosedMinting is not available at the moment.
ForgeClosedForging is not available at the moment.
TransferClosedTransfer is not available at the moment.
TradeClosedTrading is not available at the moment.
NftTransferClosedNFT transfer is not available at the moment.
SeasonClosedAttempt to mint or forge outside of an active season.
PrematureSeasonEndAttempt to mint when the season has ended prematurely.
MaxOwnershipReachedMax ownership reached.
MaxStorageTierReachedMax storage tier reached.
OwnershipAvatar belongs to someone else.
AlreadyOwnedAttempt to buy his or her own avatar.
IncorrectDnaIncorrect DNA.
IncorrectDataIncorrect data.
IncorrectAvatarIdIncorrect Avatar ID.
IncorrectSeasonIdIncorrect season ID.
MintCooldownThe player must wait cooldown period.
MaxComponentsTooLowThe season's max components value is less than the minimum allowed (1).
MaxComponentsTooHighThe season's max components value is more than the maximum allowed (random byte: 32).
MaxVariationsTooLowThe season's max variations value is less than the minimum allowed (1).
MaxVariationsTooHighThe season's max variations value is more than the maximum allowed (15).
InsufficientFreeMintsThe player has not enough free mints available.
InsufficientBalanceThe player has not enough balance available.
TooLowFreeMintsAttempt to transfer, issue or withdraw free mints lower than the minimum allowed.
TooFewSacrificesLess than minimum allowed sacrifices are used for forging.
TooManySacrificesMore than maximum allowed sacrifices are used for forging.
LeaderSacrificedLeader is being sacrificed.
AvatarCannotBeTradedThis avatar cannot be used in trades.
AvatarInTradeAn avatar listed for trade is used to forge.
AvatarLockedThe avatar is currently locked and cannot be used.
AvatarUnlockedThe avatar is currently unlocked and cannot be locked again.
IncorrectAvatarSeasonTried to forge avatars from different seasons.
IncompatibleAvatarVersionsTried to forge avatars with different DNA versions.
InsufficientStorageForForgingThere's not enough space to hold the forging results
CannotTransferToSelfTried transferring to his or her own account.
CannotTransferFromInactiveAccountTried transferring while the account still hasn't minted and forged anything.
CannotClaimDuringSeasonTried claiming treasury during a season.
CannotClaimZeroTried claiming treasury which is zero.
IncompatibleMintComponentsThe components tried to mint were not compatible.
IncompatibleForgeComponentsThe components tried to forge were not compatible.
InsufficientSacrificesThe amount of sacrifices is not sufficient for forging.
ExcessiveSacrificesThe amount of sacrifices is too much for forging.
AlreadyPreparedTried to prepare an already prepared avatar.
NotPreparedTried to prepare an IPFS URL for an avatar, that is not yet prepared.
NoServiceAccountNo service account has been set.
EmptyIpfsUrlTried to prepare an IPFS URL for an avatar with an empty URL.