Name | Lookup | Parameters | |
---|---|---|---|
create | 5800 | - | |
add_worker | 5801 | 2 | |
remove_worker | 5802 | 2 | |
set_cap | 5803 | 2 | |
set_payout_pref | 5804 | 2 | |
claim_rewards | 5805 | 2 | |
contribute | 5806 | 2 | |
withdraw | 5807 | 2 | |
start_mining | 5808 | 3 | |
stop_mining | 5809 | 2 | |
relcaim_pool_worker | 580a | 2 | |
set_mining_enable | 580b | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
PoolCreated | 5800 | ||
PoolCommissionSet | 5801 | ||
PoolCapacitySet | 5802 | ||
PoolWorkerAdded | 5803 | ||
Contribution | 5804 | ||
Withdrawal | 5805 | ||
RewardsWithdrawn | 5806 | ||
PoolSlashed | 5807 | ||
SlashSettled | 5808 | ||
RewardDismissedNotInPool | 5809 | ||
RewardDismissedNoShare | 580a |
Name | Type | |
---|---|---|
StakePools | {"origin":"MapType","map_type":{"key":"u64","hasher":"Twox64Concat","value":"PoolInfo<AccountId, BalanceOf>","isLinked":false}} | |
PoolStakers | {"origin":"MapType","map_type":{"key":"(u64, AccountId)","hasher":"Twox64Concat","value":"UserStakeInfo<AccountId, BalanceOf>","isLinked":false}} | |
PoolCount | {"origin":"PlainType","plain_type":"u64"} | |
WorkerAssignments | {"origin":"MapType","map_type":{"key":"WorkerPublicKey","hasher":"Twox64Concat","value":"u64","isLinked":false}} | |
SubAccountAssignments | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"u64","isLinked":false}} | |
StakeLedger | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}} | |
WithdrawalQueuedPools | {"origin":"MapType","map_type":{"key":"u64","hasher":"Twox64Concat","value":"Vec<u64>","isLinked":false}} | |
WithdrawalTimestamps | {"origin":"PlainType","plain_type":"Vec<u64>"} | |
MiningEnabled | {"origin":"PlainType","plain_type":"bool"} |
Name | Type | Value | |
---|---|---|---|
MinContribution | BalanceOf | 0x00e40b54020000000000000000000000 | |
GracePeriod | u64 | 0x803a090000000000 | |
MiningEnabledByDefault | bool | 0x00 | |
MaxPoolWorkers | u32 | 0xc8000000 |
Name | Docs |
---|---|
WorkerNotRegistered | |
BenchmarkMissing | |
WorkerExists | |
WorkerDoesNotExist | |
WorerInAnotherPool | |
UnauthorizedOperator | |
UnauthorizedPoolOwner | |
InadequateCapacity | The stake capacity is set too low for the existing stake |
StakeExceedsCapacity | |
PoolDoesNotExist | |
_PoolIsBusy | |
InsufficientContribution | |
InsufficientBalance | |
PoolStakeNotFound | |
InsufficientFreeStake | |
InvalidWithdrawalAmount | |
FailedToBindMinerAndWorker | |
InternalSubsidyPoolCannotWithdraw | Internal error: Cannot withdraw from the subsidy pool. This should never happen. |
PoolBankrupt | The pool has already got all the stake completely slashed. In this case, no more funds can be contributed to the pool until all the pending slash has been resolved. |
NoRewardToClaim | |
FeatureNotEnabled | The StakePool is not enabled yet. |
WorkersExceedLimit | Failed to add a worker because the number of the workers exceeds the upper limit. |