Name | Lookup | Parameters | |
---|---|---|---|
create_reward_cycle | 2800 | 4 | |
initialize_claim_rewards | 2801 | 1 | |
claim | 2802 | 1 | |
unsigned_initialize_claim_rewards | 2803 | 2 | |
unsigned_claim | 2804 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
RewardCycleCreated | 2800 | ["BlockNumberFor","BlockNumberFor","u32"] | |
UserUnlockedReward | 2801 | ["AccountId","u32"] | |
UserClaimedReward | 2802 | ["AccountId","u32","BalanceOf"] | |
UserRewardNotSatisfyingMinConstraint | 2803 | ["AccountId","BalanceOf","u32"] |
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}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 5245574152445351 |
Name | Docs |
---|---|
DuplicateId | The id has already been taken |
InvalidBlocksRange | Invalid block range provided |
InvalidInitialPercentage | Invalid percentage range |
IncorrectDonorAccount | reward id doesn't correctly map to donor |
RewardIdNotRegister | The reward Id is not register |
UserNotEligible | User not eligible for the reward |
TransferFailed | Transfer of funds failed |
AmountToLowToRedeem | Amount to low to redeem |
UserHasNotInitializeClaimRewards | User needs to initialize first before claiming rewards |
RewardsCannotBeUnlockYet | Reward cycle need to get started before unlocking rewards |
AllRewardsAlreadyClaimed | User has already claimed all the available amount |
RewardsAlreadyInitialized | User has already initialize the rewards |
AmountToLowtoInitializeRewards | Amount to low to initialize the rewards |