subscan
Runtime Modules / PhalaMining
Spec Version:
Call Functions
Storage Functions
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"}
MiningStartBlock{"origin":"PlainType","plain_type":"BlockNumber"}
MiningHalvingInterval{"origin":"PlainType","plain_type":"BlockNumber"}
Stakes{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
Error Types
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