Name | Lookup | Parameters | |
|---|---|---|---|
| set_reward_per_block | 4900 | 1 | |
| collect_reward | 4901 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| RewardPerBlockAdapted | 4900 | ["BalanceOf"] |
Name | Type | |
|---|---|---|
| RewardPerBlock | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| RewardsAdaptedAt | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| NativeLiability | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} |
Name | Type | Value | |
|---|---|---|---|
| DecayInterval | U32 | c04b0300 | |
| DecayRate | U64 | 00c07ed23b088200 |
Name | Docs |
|---|---|
| Overflow | Overflow |
| Underflow | Underflow |
| NoRewardsForAccount | Origin attempt to withdraw with 0 rewards |
| NotEnoughRewardsRegistered | Amount to be minted is more than total rewarded |
| InconsistentRewardCurrencies | If distribution logic reaches an inconsistency with the amount of currencies in thesystem |
| CollectAmountTooSmall | If the amount to collect is less than existential deposit |