subscan
Runtime Modules / CrowdloanRewards
Spec Version:
Call Functions
Name
Lookup
Parameters
initialize3700-
initialize_at37011
populate37021
associate37032
claim3704-
unlock_rewards_for37051
add37061
Events
Name
Lookup
Attributes
Initialized3700["MomentOf"]
Claimed3701["RemoteAccountOf","AccountId","Balance"]
Associated3702["RemoteAccountOf","AccountId"]
OverFunded3703["Balance"]
RewardsUnlocked3704["MomentOf"]
RewardsAdded3705["Vec<(RemoteAccountOf, RewardAmountOf, VestingPeriodOf)>"]
RewardsDeleted3706["Vec<RemoteAccountOf>"]
Storage Functions
Name
Type
Rewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_crowdloan_rewards:models:RemoteAccount"],"value":"pallet_crowdloan_rewards:models:Reward","keys_id":128,"value_id":594}}
TotalRewards{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
ClaimedRewards{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
TotalContributors{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
VestingTimeStart{"origin":"PlainType","plain_type":"U64","PlainTypeValue":11}
Associations{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_crowdloan_rewards:models:RemoteAccount","keys_id":0,"value_id":128}}
RemoveRewardLocks{"origin":"PlainType","plain_type":"NULL","PlainTypeValue":32}
Constants
Name
Type
Value
InitialPaymentU320065cd1d
OverFundedThresholdU3280969800
VestingStepU64005c260500000000
PrefixVec<U8>207069636173736f2d
PalletId[U8; 8]70616c5f63726f77
LockId[U8; 8]636c725f6c6f636b
LockByDefaultBool01
account_idAccountId6d6f646c70616c5f63726f770000000000000000000000000000000000000000
Error Types
Name
Docs
NotInitialized
AlreadyInitialized
BackToTheFuture
RewardsNotFunded
InvalidProof
InvalidClaim
NothingToClaim
NotAssociated
AlreadyAssociated
NotClaimableYet
UnexpectedRewardAmountReturned by `delete` if the provided expected reward mismatches the actual reward.