Name | Lookup | Attributes | |
|---|---|---|---|
| IntentionRegistered | 2000 | ||
| IntentionResolvedAMMTrade | 2001 | ||
| IntentionResolvedDirectTrade | 2002 | ||
| IntentionResolvedDirectTradeFees | 2003 | ||
| InsufficientAssetBalanceEvent | 2004 | ||
| IntentionResolveErrorEvent | 2005 |
Name | Type | |
|---|---|---|
| ExchangeAssetsIntentionCount | {"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Blake2_128Concat","value":"u32","isLinked":false}} | |
| ExchangeAssetsIntentions | {"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Blake2_128Concat","value":"Vec<Intention>","isLinked":false}} |
Name | Type | Value | |
|---|---|---|---|
| max_out_ratio | u128 | 0x03000000000000000000000000000000 |
Name | Docs |
|---|---|
| TokenPoolNotFound | Token pool does not exist. |
| InsufficientAssetBalance | Insufficient asset balance. |
| TradeAmountExceededLimit | Given trading limit has been exceeded (buy). |
| TradeAmountNotReachedLimit | Given trading limit has not been reached (sell). |
| ZeroSpotPrice | Overflow |
| MinimumTradeLimitNotReached | Trade amount is too low. |