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 | |
reclaim_pool_worker | 580a | 2 | |
set_mining_enable | 580b | 1 | |
reconcile_withdraw_queue | 580c | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
PoolCreated | 5800 | ["AccountId","u64"] | |
PoolCommissionSet | 5801 | ["u64","u32"] | |
PoolCapacitySet | 5802 | ["u64","BalanceOf"] | |
PoolWorkerAdded | 5803 | ["u64","WorkerPublicKey"] | |
Contribution | 5804 | ["u64","AccountId","BalanceOf"] | |
Withdrawal | 5805 | ["u64","AccountId","BalanceOf"] | |
RewardsWithdrawn | 5806 | ["u64","AccountId","BalanceOf"] | |
PoolSlashed | 5807 | ["u64","BalanceOf"] | |
SlashSettled | 5808 | ["u64","AccountId","BalanceOf"] | |
RewardDismissedNotInPool | 5809 | ["WorkerPublicKey","BalanceOf"] | |
RewardDismissedNoShare | 580a | ["u64","BalanceOf"] | |
RewardDismissedDust | 580b | ["u64","BalanceOf"] | |
DustRemoved | 580c | ["AccountId","BalanceOf"] | |
PoolWorkerRemoved | 580d | ["u64","WorkerPublicKey"] | |
WithdrawalQueued | 580e | ["u64","AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
StakePools | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"phala_pallets:stakepool:pallet:PoolInfo","keys_id":8,"value_id":466}} | |
PoolStakers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["Tuple:U64AccountId"],"value":"phala_pallets:stakepool:pallet:UserStakeInfo","keys_id":471,"value_id":472}} | |
PoolCount | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":8} | |
WorkerAssignments | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"U64","keys_id":117,"value_id":8}} | |
SubAccountAssignments | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U64","keys_id":0,"value_id":8}} | |
StakeLedger | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} | |
WithdrawalQueuedPools | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Vec<U64>","keys_id":8,"value_id":473}} | |
WithdrawalTimestamps | {"origin":"PlainType","plain_type":"Vec<U64>","PlainTypeValue":473} | |
MiningEnabled | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":98} | |
SubAccountPreimages | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Tuple:U64[U8; 32]","keys_id":0,"value_id":474}} |
Name | Type | Value | |
---|---|---|---|
MinContribution | U128 | 00e40b54020000000000000000000000 | |
GracePeriod | U64 | 803a090000000000 | |
MiningEnabledByDefault | Bool | 00 | |
MaxPoolWorkers | U32 | c8000000 |
Name | Docs |
---|---|
WorkerNotRegistered | |
BenchmarkMissing | |
WorkerExists | |
WorkerDoesNotExist | |
WorkerInAnotherPool | |
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 slashhas 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. |