subscan
Runtime Modules / LiquidityMining
Spec Version:
Storage Functions
Name
Type
NextPoolId{"origin":"PlainType","plain_type":"PoolId"}
ChargedPoolIds{"origin":"PlainType","plain_type":"BTreeSet<PoolId>"}
TotalPoolInfos{"origin":"MapType","map_type":{"key":"PoolId","hasher":"Twox64Concat","value":"PoolInfo","isLinked":false}}
TotalDepositData{"origin":"DoubleMapType","double_map_type":{"key":"PoolId","key2":"AccountIdOf","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"DepositData","isLinked":false}}
Constants
Name
Type
Value
RelayChainTokenSymbolTokenSymbol0x04
MaximumDepositInPoolBalanceOf0x0000a0dec5adc9353600000000000000
MinimumDepositOfUserBalanceOf0x40420f00000000000000000000000000
MinimumRewardPerBlockBalanceOf0xe8030000000000000000000000000000
MinimumDurationBlockNumberFor0x2c010000
MaximumChargedu320x20000000
MaximumOptionRewardsu320x07000000
PalletIdPalletId0x62662f6c6d232323
Error Types
Name
Docs
InvalidTradingPair
InvalidDuration
InvalidRewardPerBlock
InvalidDepositLimit
InvalidPoolId
InvalidPoolState
InvalidPoolType
DuplicateReward Find duplicate reward when creating the liquidity-pool
ExceedMaximumDeposit When the amount deposited in a liquidity-pool exceeds the `MaximumDepositInPool`
ExceedMaximumCharged When the number of pool-charged exceeds the `MaximumCharged`
NotEnoughToDeposit Not enough balance to deposit
NotEnoughToRedeem Not enough balance to redeem(VERY SCARY ERR)
FailOnUnReserve Not enough balance of reward to unreserve
NoDepositOfUser Not enough deposit of the user in the liquidity-pool
TooLowToDeposit Too low balance to deposit
TooLowToRedeem User doesnt have enough deposit to redeem
TooShortBetweenTwoClaim The interval between two claims is short
PoolChargedAlready The pool has been charged
Unexpected __NOTE__: ERROR HAPPEN