subscan
Runtime Modules / CrowdSourceLMP
Spec Version:
Events
Name
Lookup
Attributes
LiquidityAdded3200["TradingPair","AccountId","AccountId","BalanceOf","AssetId","BalanceOf","BalanceOf"]
LiquidityRemoved3201["TradingPair","AccountId","AccountId"]
LiquidityRemovalFailed3202["TradingPair","AccountId","AccountId","BalanceOf","BalanceOf","BalanceOf","BalanceOf","BalanceOf"]
PoolForceClosed3203["TradingPair","AccountId","BalanceOf","BalanceOf"]
Storage Functions
Name
Type
LPShares{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["U128","AccountId"],"value":"U128","keys_id":566,"value_id":6}}
Pools{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["orderbook_primitives:types:TradingPair","AccountId"],"value":"pallet_lmp:types:MarketMakerConfig","keys_id":633,"value_id":634}}
Rewards{"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["U16","AccountId"],"value":"U128","keys_id":635,"value_id":6}}
AddLiquidityRecords{"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["U16","Tuple:AccountIdAccountId"],"value":"Vec<Tuple:U32U128>","keys_id":636,"value_id":637}}
WithdrawalRequests{"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["U16","AccountId"],"value":"Vec<Tuple:AccountIdU128U128>","keys_id":635,"value_id":639}}
LiquidityProviders{"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["U16","AccountId"],"value":"Tuple:Vec<Tuple:AccountIdTuple:U128Bool>U128Bool","keys_id":635,"value_id":641}}
LMPEpoch{"origin":"PlainType","plain_type":"U16","PlainTypeValue":81}
SnapshotFlag{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
WithdrawingEpoch{"origin":"PlainType","plain_type":"U16","PlainTypeValue":81}
Constants
Name
Type
Value
PalletId[U8; 8]43524f57534f5552
Error Types
Name
Docs
UnknownMarketMarket is not registered with OCEX pallet
ConversionErrorDecimal Conversion error
InvalidCommissionCommission should be between 0-1
InvalidExitFeeExit fee should be between 0-1
PoolExistsPool already exists
NotEnoughQuoteAmountThere is not enough quote for given base amount
UnknownPoolPool is not registered
PublicDepositsNotAllowedPublic deposits not allowed in this pool
TotalShareIssuanceIsZeroTotal share issuance is zero(this should never happen)
InvalidLPAddressLP not found in map
AlreadyClaimedReward already claimed
InvalidTotalScoreInvalid Total Score
PoolForceClosedPool is force closed, add liquidity not allowed
PoolNotForceClosedPool is not force closed to claim funds
InvalidTotalIssuanceInvalid Total issuance number
SnapshotInProgressSnapshotting in progress, try again later
PriceNotAvailablePrice Oracle not available, try again later