Mangata
subscan
Runtime Modules / ProofOfStake
Spec Version:
Events
Name
Lookup
Attributes
PoolPromotionUpdated0e00["CurrencyIdOf","Option<u8>"]
LiquidityActivated0e01["AccountId","CurrencyIdOf","BalanceOf"]
LiquidityDeactivated0e02["AccountId","CurrencyIdOf","BalanceOf"]
RewardsClaimed0e03["AccountId","CurrencyIdOf","BalanceOf"]
ThirdPartyRewardsClaimed0e04["AccountId","CurrencyIdOf","CurrencyIdOf","BalanceOf"]
ThirdPartyLiquidityActivated0e05["AccountId","CurrencyIdOf","CurrencyIdOf","BalanceOf"]
ThirdPartyLiquidityDeactivated0e06["AccountId","CurrencyIdOf","CurrencyIdOf","BalanceOf"]
ThirdPartySuccessfulPoolPromotion0e07["AccountId","CurrencyIdOf","CurrencyIdOf","BalanceOf"]
Storage Functions
Name
Type
RewardsInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"pallet_proof_of_stake:reward_info:RewardInfo","keys_id":356,"value_id":369}}
PromotedPoolRewards{"origin":"PlainType","plain_type":"Vec<Tuple:U32pallet_proof_of_stake:pallet:PromotedPools>","PlainTypeValue":372}
TotalActivatedLiquidity{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":45}}
RewardsInfoForScheduleRewards{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","Tuple:U32U32"],"value":"pallet_proof_of_stake:reward_info:RewardInfo","keys_id":376,"value_id":369}}
ScheduleRewardsTotal{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32","U32"],"value":"pallet_proof_of_stake:schedule_rewards_calculator:ScheduleRewards","keys_id":150,"value_id":377}}
ScheduleRewardsPerLiquidity{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32","U32"],"value":"Tuple:U256U64","keys_id":150,"value_id":378}}
RewardsSchedules{"origin":"PlainType","plain_type":"Vec<Tuple:Tuple:U32U32U32U128U64NULL>","PlainTypeValue":379}
SchedulesListMetadata{"origin":"PlainType","plain_type":"pallet_proof_of_stake:SchedulesList","PlainTypeValue":384}
RewardsSchedulesList{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Tuple:pallet_proof_of_stake:Scheduleoption<U64>","keys_id":9,"value_id":386}}
RewardTokensPerPool{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","U32"],"value":"NULL","keys_id":150,"value_id":5}}
TotalActivatedLiquidityForSchedules{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","U32"],"value":"pallet_proof_of_stake:schedule_rewards_calculator:ActivatedLiquidityPerSchedule","keys_id":150,"value_id":388}}
ActivatedLiquidityForSchedules{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32","U32"],"value":"U128","keys_id":389,"value_id":45}}
ActivatedLockedLiquidityForSchedules{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"U128","keys_id":356,"value_id":45}}
ActivatedNativeRewardsLiq{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"U128","keys_id":356,"value_id":45}}
Constants
Name
Type
Value
LiquidityMiningIssuanceVaultAccountId6d6f646c70792f6c716d69760000000000000000000000000000000000000000
RewardsDistributionPeriodU32b0040000
Error Types
Name
Docs
NotEnoughAssetsNot enought assets
MathOverflowMath overflow
NotEnoughRewardsEarnedNot enough rewards earned
NotAPromotedPoolNot a promoted pool
PastTimeCalculationPast time calculation
LiquidityCheckpointMathError
CalculateRewardsMathError
MathError
CalculateRewardsAllMathError
MissingRewardsInfoError
DeprecatedExtrinsic
CannotScheduleRewardsInPastCannot schedule rewards in past
PoolDoesNotExistPool does not exist
TooManySchedulesToo many schedules
TooLittleRewardsToo little rewards per session
TooSmallVolumeToo small volume of the pool
LiquidityLockedIn3rdpartyRewards
NoThirdPartyPartyRewardsToClaim
SoloTokenPromotionForbiddenError