subscan
Runtime Modules / Rewards
Spec Version:
Events
Name
Lookup
Attributes
RewardCycleCreated2800["BlockNumberFor","BlockNumberFor","u32"]
UserUnlockedReward2801["AccountId","u32"]
UserClaimedReward2802["AccountId","u32","BalanceOf"]
UserRewardNotSatisfyingMinConstraint2803["AccountId","BalanceOf","u32"]
Storage Functions
Name
Type
InitializeRewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_rewards:pallet:RewardInfo","keys_id":4,"value_id":624}}
Distributor{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","AccountId"],"value":"pallet_rewards:pallet:RewardInfoForAccount","keys_id":451,"value_id":625}}
Constants
Name
Type
Value
PalletId[U8; 8]5245574152445351
Error Types
Name
Docs
DuplicateIdThe id has already been taken
InvalidBlocksRangeInvalid block range provided
InvalidInitialPercentageInvalid percentage range
IncorrectDonorAccountreward id doesn't correctly map to donor
RewardIdNotRegisterThe reward Id is not register
UserNotEligibleUser not eligible for the reward
TransferFailedTransfer of funds failed
AmountToLowToRedeemAmount to low to redeem
UserHasNotInitializeClaimRewardsUser needs to initialize first before claiming rewards
RewardsCannotBeUnlockYetReward cycle need to get started before unlocking rewards
AllRewardsAlreadyClaimedUser has already claimed all the available amount
RewardsAlreadyInitializedUser has already initialize the rewards
AmountToLowtoInitializeRewardsAmount to low to initialize the rewards