Name | Lookup | Parameters | |
---|---|---|---|
set_cool_down_expiration | 5700 | 1 | |
unbind | 5701 | 1 | |
force_heartbeat | 5702 | - | |
force_start_mining | 5703 | 2 | |
force_stop_mining | 5704 | 1 | |
update_tokenomic | 5705 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
CoolDownExpirationChanged | 5700 | ||
MinerStarted | 5701 | ||
MinerStopped | 5702 | ||
MinerReclaimed | 5703 | ||
MinerBound | 5704 | ||
MinerUnbound | 5705 | ||
MinerEnterUnresponsive | 5706 | ||
MinerExitUnresponive | 5707 | ||
MinerSettled | 5708 | ||
InternalErrorMinerSettleFailed | 5709 |
Name | Type | |
---|---|---|
TokenomicParameters | {"origin":"PlainType","plain_type":"TokenomicParams"} | |
OnlineMiners | {"origin":"PlainType","plain_type":"u32"} | |
ExpectedHeartbeatCount | {"origin":"PlainType","plain_type":"u32"} | |
Miners | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"MinerInfo","isLinked":false}} | |
MinerBindings | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"WorkerPublicKey","isLinked":false}} | |
WorkerBindings | {"origin":"MapType","map_type":{"key":"WorkerPublicKey","hasher":"Twox64Concat","value":"AccountId","isLinked":false}} | |
CoolDownPeriod | {"origin":"PlainType","plain_type":"u64"} | |
NextSessionId | {"origin":"PlainType","plain_type":"u32"} | |
Stakes | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}} |
Name | Docs |
---|---|
BadSender | |
InvalidMessage | |
WorkerNotRegistered | |
GatekeeperNotRegistered | |
DuplicateBoundMiner | |
BenchmarkMissing | |
MinerNotFound | |
MinerNotBound | |
MinerNotReady | |
MinerNotMining | |
WorkerNotBound | |
CoolDownNotReady | |
InsufficientStake | |
TooMuchStake | |
InternalErrorBadTokenomicParameters | |
DuplicateBoundWorker | |
BenchmarkTooLow | Indicating the initial benchmark score is too low to start mining. |
InternalErrorCannotStartWithExistingStake |