Name | Lookup | Parameters | |
---|---|---|---|
set_cool_down_expiration | 5700 | 1 | |
unbind | 5701 | 1 | |
force_heartbeat | 5702 | - | |
force_start_computing | 5703 | 2 | |
force_stop_computing | 5704 | 1 | |
update_tokenomic | 5705 | 1 | |
set_heartbeat_paused | 5706 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
CoolDownExpirationChanged | 5700 | ["u64"] | |
WorkerStarted | 5701 | ["AccountId","u128","u32"] | |
WorkerStopped | 5702 | ["AccountId"] | |
WorkerReclaimed | 5703 | ["AccountId","BalanceOf","BalanceOf"] | |
SessionBound | 5704 | ["AccountId","WorkerPublicKey"] | |
SessionUnbound | 5705 | ["AccountId","WorkerPublicKey"] | |
WorkerEnterUnresponsive | 5706 | ["AccountId"] | |
WorkerExitUnresponsive | 5707 | ["AccountId"] | |
SessionSettled | 5708 | ["AccountId","u128","u128"] | |
InternalErrorWorkerSettleFailed | 5709 | ["WorkerPublicKey"] | |
SubsidyBudgetHalved | 570a | ||
InternalErrorWrongHalvingConfigured | 570b | ||
TokenomicParametersChanged | 570c | ||
SessionSettlementDropped | 570d | ["AccountId","u128","u128"] | |
BenchmarkUpdated | 570e | ["AccountId","u32"] |
Name | Type | |
---|---|---|
TokenomicParameters | {"origin":"PlainType","plain_type":"phala_types:messaging:TokenomicParameters","PlainTypeValue":329} | |
ScheduledTokenomicUpdate | {"origin":"PlainType","plain_type":"phala_types:messaging:TokenomicParameters","PlainTypeValue":329} | |
OnlineWorkers | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ExpectedHeartbeatCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
HeartbeatPaused | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":100} | |
Sessions | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"phala_pallets:compute:computation:pallet:SessionInfo","keys_id":0,"value_id":560}} | |
SessionBindings | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"[U8; 32]","keys_id":0,"value_id":118}} | |
WorkerBindings | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"AccountId","keys_id":118,"value_id":0}} | |
CoolDownPeriod | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":10} | |
NextSessionId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ComputingStartBlock | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ComputingHalvingInterval | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
Stakes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} |
Name | Docs |
---|---|
BadSender | The transaction is sent by an unauthorized sender |
_InvalidMessage | Deprecated. |
WorkerNotRegistered | The worker is not registered in the registry. |
_GatekeeperNotRegistered | Deprecated |
DuplicateBoundSession | Not permitted because the session is already bound with another worker. |
BenchmarkMissing | There's no benchmark result on the blockchain. |
SessionNotFound | session not found. |
SessionNotBound | Not permitted because the session is not bound with a worker. |
WorkerNotReady | Worker is not in `Ready` state to proceed. |
WorkerNotComputing | Worker is not in `Computation` state to stop computing. |
WorkerNotBound | Not permitted because the worker is not bound with a worker account. |
CoolDownNotReady | Cannot reclaim the worker because it's still in cooldown period. |
InsufficientStake | Cannot start computing because there's too little stake. |
TooMuchStake | Cannot start computing because there's too much stake (exceeds Vmax). |
InternalErrorBadTokenomicParameters | Internal error. The tokenomic parameter is not set. |
DuplicateBoundWorker | Not permitted because the worker is already bound with another session account. |
BenchmarkTooLow | Indicating the initial benchmark score is too low to start computing. |
InternalErrorCannotStartWithExistingStake | Internal error. A worker should never start with existing stake in the storage. |
NotMigrationRoot | Migration root not authorized |