subscan
Runtime Modules / LiquidityMiningDOT
Spec Version:
Events
Name
Lookup
Attributes
PoolCreated6b00["PoolId","PoolType","(CurrencyId, CurrencyId)","AccountIdOf"]
PoolCharged6b01["PoolId","PoolType","(CurrencyId, CurrencyId)","AccountIdOf"]
PoolStarted6b02["PoolId","PoolType","(CurrencyId, CurrencyId)"]
PoolKilled6b03["PoolId","PoolType","(CurrencyId, CurrencyId)"]
PoolRetiredForcefully6b04["PoolId","PoolType","(CurrencyId, CurrencyId)"]
PoolEdited6b05["PoolId","BlockNumberFor","u32","BlockNumberFor","u32"]
UserDeposited6b06["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"]
UserRedeemed6b07["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","BlockNumberFor","AccountIdOf"]
UserClaimed6b08["PoolId","PoolType","(CurrencyId, CurrencyId)","Vec<(CurrencyId, BalanceOf)>","AccountIdOf"]
UserUnlocked6b09["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"]
UserCancelUnlock6b0a["PoolId","PoolType","(CurrencyId, CurrencyId)","BalanceOf","AccountIdOf"]
LazyMigration6b0b["u32","u32"]
Storage Functions
Name
Type
NextPoolId{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ChargedPoolIds{"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":633}
TotalPoolInfosV200{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_liquidity_mining:PoolInfo","keys_id":4,"value_id":634}}
TotalDepositDataV200{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_liquidity_mining:DepositData","keys_id":321,"value_id":640}}
PalletVersion{"origin":"PlainType","plain_type":"bifrost_liquidity_mining:StorageVersion","PlainTypeValue":646}
Constants
Name
Type
Value
RelayChainTokenSymbolnode_primitives:currency:TokenSymbol03
MaximumDepositInPoolU128000000e83c80d09f3c2e3b0300000000
MinimumDepositOfUserU12840420f00000000000000000000000000
MinimumRewardPerBlockU128e8030000000000000000000000000000
MinimumDurationU322c010000
MaximumChargedU3220000000
MaximumOptionRewardsU3207000000
PalletId[U8; 8]62662f6c6d646f74
Error Types
Name
Docs
InvalidTradingPair
InvalidDuration
InvalidRewardPerBlock
InvalidDepositLimit
InvalidPoolId
InvalidPoolState
InvalidPoolType
DuplicateRewardFind duplicate rewards when creating the liquidity-pool
ExceedMaximumDepositThe deposit of a liquidity-pool exceeded the `MaximumDepositInPool`
ExceedMaximumChargedThe number of pool which be charged exceeded the `MaximumCharged`
NotEnoughToDepositUser doesn't have enough balance of which be deposited to pool
NotEnoughToRedeemKeeper doesn't have enough balance to be redeemed by the user(VERY SCARY ERR)
NotEnoughToUnlockKeeper doesn't have enough balance to be unlocked by the user(VERY SCARY ERR)
NoDepositOfUserUser has nothing be deposited to the pool
TooLowToDepositThe balance which was tried to deposit to the pool less than `MinimumDepositOfUser`
TooLowToRedeemUser doesn't have such amount deposit can be redeemed from the pool
TooShortBetweenTwoClaimDuplicate claim actions were at same block height
PoolChargedAlreadyThe pool has been charged already
ExceedMaximumUnlockThe number of pending-unlocks reaches the limit;
NoPendingUnlocksNot have pending-unlocks;
WrongIndexInput wrong index to `cancel_unlock`;
Unexpected__NOTE__: ERROR HAPPEN
OnMigrationOn lazy-migration
NoMigration