subscan
Runtime Modules / Economy
Spec Version:
Events
Name
Lookup
Attributes
MiningResourceBurned4100["Balance"]
SelfStakedToEconomy1014101["AccountId","BalanceOf"]
EstateStakedToEconomy1014102["AccountId","EstateId","BalanceOf"]
SelfStakingRemovedFromEconomy1014103["AccountId","BalanceOf"]
EstateStakingRemovedFromEconomy1014104["AccountId","EstateId","BalanceOf"]
BitPowerExchangeRateUpdated4105["Balance"]
UnstakedAmountWithdrew4106["AccountId","BalanceOf"]
SetPowerBalance4107["AccountId","PowerAmount"]
CancelPowerConversionRequest4108["(ClassId, TokenId)","AccountId"]
Storage Functions
Name
Type
BitPowerExchangeRate{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
PowerBalance{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U64","keys_id":0,"value_id":8}}
AcceptedDomain{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"NULL","keys_id":4,"value_id":32}}
StakingInfo{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}}
EstateStakingInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"bit_country_primitives:staking:Bond","keys_id":8,"value_id":452}}
ExitQueue{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"U128","keys_id":417,"value_id":6}}
EstateExitQueue{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","U32","U64"],"value":"U128","keys_id":430,"value_id":6}}
TotalStake{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
TotalEstateStake{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Constants
Name
Type
Value
EconomyTreasury[U8; 8]6269742f65636f6e
MiningCurrencyIdbit_country_primitives:FungibleTokenId030000000000000000
MinimumStakeU128000010632d5ec76b0500000000000000
MaximumEstateStakeU1280000a0dec5adc9353600000000000000
PowerAmountPerBlockU646400000000000000
Error Types
Name
Docs
NFTAssetDoesNotExistNFT asset does not exist
NFTClassDoesNotExistNFT class does not exist
NFTCollectionDoesNotExistNFT collection does not exist
NoPermissionNo permission
NoAuthorizationNo authorization
AccountHasNoPowerBalanceInsufficient power balance
PowerAmountIsZeroPower amount is zero
InsufficientBalanceForStakingNot enough free balance for staking
UnstakeAmountExceedStakedAmountUnstake amount greater than staked amount
ExitQueueAlreadyScheduledHas scheduled exit staking, only stake after queue exit
StakeBelowMinimumStake amount below minimum staking required
WithdrawFutureRoundWithdraw future round
ExitQueueDoesNotExitExit queue does not exist
UnstakeAmountIsZeroUnstaked amount is zero
RequestAlreadyExistRequest already exists
NotReadyToExecuteOrder has not reach target
StakerNotEstateOwnerStaker is not estate owner
StakeEstateDoesNotExistStaking estate does not exist
StakerNotPreviousOwnerStake is not previous owner
NoFundsStakedAtEstateNo funds staked at estate
PreviousOwnerStillStakesAtEstatePrevious owner still stakes at estate
EstateExitQueueAlreadyScheduledHas scheduled exit estate staking, only stake after queue exit
EstateExitQueueDoesNotExitEstate exit queue does not exist
StakeAmountExceedMaximumAmountStake amount exceed estate max amount