subscan
Runtime Modules / MerkleDistributor
Spec Version:
Events
Name
Lookup
Attributes
Create5100["MerkleDistributorId","H256","Balance"]
Claim5101["MerkleDistributorId","AccountId","u128"]
Withdraw5102["MerkleDistributorId","AccountId","Balance"]
AddToWhiteList5103["AccountId"]
RemoveFromWhiteList5104["AccountId"]
Storage Functions
Name
Type
MerkleDistributorMetadata{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"merkle_distributor:MerkleMetadata","keys_id":4,"value_id":722}}
NextMerkleDistributorId{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ClaimedBitMap{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","U32"],"value":"U32","keys_id":196,"value_id":4}}
CreateWhiteSet{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":724}
Constants
Name
Type
Value
PalletId[U8; 8]62662f6d6b6c6473
StringLimitU3232000000
Error Types
Name
Docs
BadDescriptionInvalid metadata given.
InvalidMerkleDistributorIdThe id is not exist.
MerkleVerifyFailedThe proof is invalid
ClaimedThe reward is already distributed.
ChargedThe reward is already charged.
WithdrawAmountExceedWithdraw amount exceed charge amount.
BadChargeAccount
AlreadyInWhiteListAccount has already in the set who can create merkle distributor
NotInWhiteListAccount is no in the set who can create merkle distributor