subscan
Runtime Modules / AppPromotion
Spec Version:
Events
Name
Lookup
Attributes
StakingRecalculation4900["AccountId","BalanceOf","BalanceOf"]
Stake4901["AccountId","BalanceOf"]
Unstake4902["AccountId","BalanceOf"]
SetAdmin4903["AccountId"]
Storage Functions
Name
Type
TotalStaked{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Admin{"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0}
Staked{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"Tuple:U128U32","keys_id":638,"value_id":639}}
StakesPerAccount{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U8","keys_id":0,"value_id":2}}
PendingUnstake{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<Tuple:AccountIdU128>","keys_id":4,"value_id":640}}
PreviousCalculatedRecord{"origin":"PlainType","plain_type":"Tuple:AccountIdU32","PlainTypeValue":638}
Constants
Name
Type
Value
PalletId[U8; 8]6170707374616b65
FreezeIdentifier[U8; 16]6170707374616b656170707374616b65
RecalculationIntervalU3240380000
PendingIntervalU32e0c40000
IntervalIncomeU3220a10700
NominalU128000064a7b3b6e00d0000000000000000
Error Types
Name
Docs
AdminNotSetError due to action requiring admin to be set.
NoPermissionNo permission to perform an action.
NotSufficientFundsInsufficient funds to perform an action.
PendingForBlockOverflowOccurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded.
SponsorNotSetThe error is due to the fact that the collection/contract must already be sponsored in order to perform the action.
InsufficientStakedBalanceErrors caused by insufficient staked balance.
InconsistencyStateErrors caused by incorrect state of a staker in context of the pallet.