subscan
Runtime Modules / Mining
Spec Version:
Events
Name
Lookup
Attributes
MiningResourceMinted3600["Balance"]
MiningResourceBurned3601["Balance"]
DepositMiningResource3602["AccountId","Balance"]
WithdrawMiningResource3603["AccountId","Balance"]
AddNewMiningOrigin3604["AccountId"]
RemoveMiningOrigin3605["AccountId"]
NewMiningRound3606["RoundIndex","MiningRange<Balance>"]
RoundLengthUpdated3607["BlockNumber"]
MiningConfigUpdated3608["BlockNumber","MiningResourceRateInfo"]
MiningResourceMintedTo3609["AccountId","Balance"]
MiningResourceBurnFrom360a["AccountId","Balance"]
MiningRoundPaused360b["BlockNumber","RoundIndex"]
MiningRoundUnPaused360c["BlockNumber","RoundIndex"]
Storage Functions
Name
Type
MintingOrigins{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":35}}
Round{"origin":"PlainType","plain_type":"bit_country_primitives:staking:RoundInfo","PlainTypeValue":432}
MiningConfig{"origin":"PlainType","plain_type":"core_primitives:MiningResourceRateInfo","PlainTypeValue":130}
CurrentMiningResourceAllocation{"origin":"PlainType","plain_type":"core_primitives:MiningRange","PlainTypeValue":129}
MiningPaused{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":96}
Constants
Name
Type
Value
BitMiningTreasury[U8; 8]63622f6d696e6967
NetworkTreasuryAccountAccountId6d6f646c6269742f747273790000000000000000000000000000000000000000
StorageDepositFeeU128000064a7b3b6e00d0000000000000000
Error Types
Name
Docs
AmountZeroTransfer amount should be non-zero
BalanceLowAccount balance must be greater than or equal to the transfer amount
BalanceZeroBalance should be non-zero
InsufficientBalanceInsufficient balance
NoPermissionTokenIssuanceNo permission to issue token
NoPermissionNo permission to interact with mining resource
OriginsAlreadyExistOrigins already exist
OriginsIsNotExistOrigin is not exist
RoundUpdateIsOnProgressRound update is on progress
MiningRoundAlreadyPausedMining round already paused
MiningRoundIsNotPausedMining round is not paused