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":["[U8; 32]"],"value":"NULL","keys_id":0,"value_id":32}}
Round{"origin":"PlainType","plain_type":"bit_country_primitives:staking:RoundInfo","PlainTypeValue":405}
MiningConfig{"origin":"PlainType","plain_type":"core_primitives:MiningResourceRateInfo","PlainTypeValue":113}
CurrentMiningResourceAllocation{"origin":"PlainType","plain_type":"core_primitives:MiningRange","PlainTypeValue":112}
MiningPaused{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":102}
Constants
Name
Type
Value
BitMiningTreasury[U8; 8]63622f6d696e6967
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