Name | Lookup | Parameters | |
---|---|---|---|
set_bit_power_exchange_rate | 4100 | 1 | |
set_power_balance | 4101 | 2 | |
stake | 4102 | 2 | |
unstake | 4103 | 2 | |
unstake_new_estate_owner | 4104 | 1 | |
withdraw_unreserved | 4105 | 1 | |
withdraw_estate_unreserved | 4106 | 2 | |
force_unstake | 4107 | 3 | |
force_unreserved_staking | 4108 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
MiningResourceBurned | 4100 | ["Balance"] | |
SelfStakedToEconomy101 | 4101 | ["AccountId","BalanceOf"] | |
EstateStakedToEconomy101 | 4102 | ["AccountId","EstateId","BalanceOf"] | |
SelfStakingRemovedFromEconomy101 | 4103 | ["AccountId","BalanceOf"] | |
EstateStakingRemovedFromEconomy101 | 4104 | ["AccountId","EstateId","BalanceOf"] | |
BitPowerExchangeRateUpdated | 4105 | ["Balance"] | |
UnstakedAmountWithdrew | 4106 | ["AccountId","BalanceOf"] | |
SetPowerBalance | 4107 | ["AccountId","PowerAmount"] | |
CancelPowerConversionRequest | 4108 | ["(ClassId, TokenId)","AccountId"] |
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} |
Name | Type | Value | |
---|---|---|---|
EconomyTreasury | [U8; 8] | 6269742f65636f6e | |
MiningCurrencyId | bit_country_primitives:FungibleTokenId | 030000000000000000 | |
MinimumStake | U128 | 000010632d5ec76b0500000000000000 | |
MaximumEstateStake | U128 | 0000a0dec5adc9353600000000000000 | |
PowerAmountPerBlock | U64 | 6400000000000000 |
Name | Docs |
---|---|
NFTAssetDoesNotExist | NFT asset does not exist |
NFTClassDoesNotExist | NFT class does not exist |
NFTCollectionDoesNotExist | NFT collection does not exist |
NoPermission | No permission |
NoAuthorization | No authorization |
AccountHasNoPowerBalance | Insufficient power balance |
PowerAmountIsZero | Power amount is zero |
InsufficientBalanceForStaking | Not enough free balance for staking |
UnstakeAmountExceedStakedAmount | Unstake amount greater than staked amount |
ExitQueueAlreadyScheduled | Has scheduled exit staking, only stake after queue exit |
StakeBelowMinimum | Stake amount below minimum staking required |
WithdrawFutureRound | Withdraw future round |
ExitQueueDoesNotExit | Exit queue does not exist |
UnstakeAmountIsZero | Unstaked amount is zero |
RequestAlreadyExist | Request already exists |
NotReadyToExecute | Order has not reach target |
StakerNotEstateOwner | Staker is not estate owner |
StakeEstateDoesNotExist | Staking estate does not exist |
StakerNotPreviousOwner | Stake is not previous owner |
NoFundsStakedAtEstate | No funds staked at estate |
PreviousOwnerStillStakesAtEstate | Previous owner still stakes at estate |
EstateExitQueueAlreadyScheduled | Has scheduled exit estate staking, only stake after queue exit |
EstateExitQueueDoesNotExit | Estate exit queue does not exist |
StakeAmountExceedMaximumAmount | Stake amount exceed estate max amount |