zkverify
subscan
Runtime Modules / TokenClaim
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
ClaimStarted5300["u64","ClaimMessage"]
Claimed5301["Beneficiary","BalanceOf"]
ClaimEnded5302["u64","ClaimMessage"]
BeneficiariesRemoved5303["u32"]
NoMoreBeneficiaries5304
Storage Functions
Name
Type
Beneficiaries{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["pallet_token_claim:beneficiary:Beneficiary"],"value":"U128","keys_id":212,"value_id":6}}
CounterForBeneficiaries{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
TotalClaimable{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
ClaimActive{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":8}
ClaimId{"origin":"PlainType","plain_type":"Tuple:U64Vec<U8>","PlainTypeValue":704}
PalletAccountId{"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0}
Constants
Name
Type
Value
PalletId[U8; 8]7a6b762f70746b63
MaxBeneficiariesU3240420f00
MaxClaimMessageLengthU32f4010000
MaxOpBeneficiariesU3210270000
EthMsgSeparatorVec<U8>0440
Error Types
Name
Docs
AlreadyStartedAttempt to perform an action that is invalid when there is a claim campaign active.
NotEligibleAccount requested a claim but it is not present among the Beneficiaries
NothingToClaimAdded a beneficiary without balance to claim
MaxNumBeneficiariesReachedMaximum number of beneficiaries reached
TooManyBeneficiariesToo many beneficiaries for this single operation
AlreadyPresentAttempt to modify the balance of an already added beneficiary
AlreadyEndedAttempt to perform an action that is invalid when there is no claim campaign active.
NonEmptyBeneficiariesAttempt to start a claim while there are still beneficiaries in storage from a previous one
BadSignatureSignature verification failed for a given beneficiary
InvalidClaimMessageSupplied an invalid claim message