Name | Lookup | Parameters | |
---|---|---|---|
register_pool | 3200 | 6 | |
add_liquidity | 3201 | 4 | |
remove_liquidity | 3202 | 3 | |
force_close_pool | 3203 | 2 | |
claim_rewards_by_lp | 3204 | 3 | |
claim_rewards_by_mm | 3205 | 2 | |
submit_scores_of_lps | 3206 | 1 | |
initiate_withdrawal | 3207 | 3 | |
claim_force_closed_pool_funds | 3208 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
LiquidityAdded | 3200 | ["TradingPair","AccountId","AccountId","BalanceOf","AssetId","BalanceOf","BalanceOf"] | |
LiquidityRemoved | 3201 | ["TradingPair","AccountId","AccountId"] | |
LiquidityRemovalFailed | 3202 | ["TradingPair","AccountId","AccountId","BalanceOf","BalanceOf","BalanceOf","BalanceOf","BalanceOf"] | |
PoolForceClosed | 3203 | ["TradingPair","AccountId","BalanceOf","BalanceOf"] |
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} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 43524f57534f5552 |
Name | Docs |
---|---|
UnknownMarket | Market is not registered with OCEX pallet |
ConversionError | Decimal Conversion error |
InvalidCommission | Commission should be between 0-1 |
InvalidExitFee | Exit fee should be between 0-1 |
PoolExists | Pool already exists |
NotEnoughQuoteAmount | There is not enough quote for given base amount |
UnknownPool | Pool is not registered |
PublicDepositsNotAllowed | Public deposits not allowed in this pool |
TotalShareIssuanceIsZero | Total share issuance is zero(this should never happen) |
InvalidLPAddress | LP not found in map |
AlreadyClaimed | Reward already claimed |
InvalidTotalScore | Invalid Total Score |
PoolForceClosed | Pool is force closed, add liquidity not allowed |
PoolNotForceClosed | Pool is not force closed to claim funds |
InvalidTotalIssuance | Invalid Total issuance number |
SnapshotInProgress | Snapshotting in progress, try again later |
PriceNotAvailable | Price Oracle not available, try again later |