Name | Lookup | Attributes | |
|---|---|---|---|
| Staked | 0c00 | ["AccountId","Balance","Balance","Vec<DepositId>"] | |
| Unstaked | 0c01 | ["AccountId","Balance","Balance","Vec<DepositId>"] | |
| CommissionUpdated | 0c02 | ["AccountId","Perbill"] | |
| Payout | 0c03 | ["AccountId","Balance"] | |
| Elected | 0c04 | ["Vec<AccountId>"] |
Name | Type | |
|---|---|---|
| Ledgers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"darwinia_staking:Ledger","keys_id":0,"value_id":306}} | |
| RingPool | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| KtonPool | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Collators | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H160"],"value":"U32","keys_id":0,"value_id":50}} | |
| Exposures | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H160"],"value":"darwinia_staking:Exposure","keys_id":0,"value_id":319}} | |
| NextExposures | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H160"],"value":"darwinia_staking:Exposure","keys_id":0,"value_id":319}} | |
| CollatorCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| Nominators | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H160"],"value":"H160","keys_id":0,"value_id":0}} | |
| RewardPoints | {"origin":"PlainType","plain_type":"Tuple:U32BTreeMap@323","PlainTypeValue":322} | |
| SessionStartTime | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| ElapsedTime | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} |
Name | Type | Value | |
|---|---|---|---|
| MaxCommission | U32 | 00a3e111 | |
| MinStakingDuration | U32 | c0890100 | |
| PayoutFraction | U32 | 0084d717 | |
| MaxDeposits | U32 | 00020000 | |
| MaxUnstakings | U32 | 10000000 |
Name | Docs |
|---|---|
| CommissionTooHigh | Commission rate must be less than maximum commission rate. |
| ExceedMaxDeposits | Exceed maximum deposit count. |
| ExceedMaxUnstakings | Exceed maximum unstaking/unbonding count. |
| DepositNotFound | Deposit not found. |
| NotStaker | You are not a staker. |
| TargetNotCollator | Target is not a collator. |
| ZeroCollatorCount | Collator count mustn't be zero. |