Name | Lookup | Attributes | |
|---|---|---|---|
| RouteExecuted | 4300 | ["AssetId","AssetId","Balance","Balance"] | |
| RouteUpdated | 4301 | ["Vec<AssetId>"] |
Name | Type | |
|---|---|---|
| Routes | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["hydradx_traits:router:AssetPair"],"value":"Vec<hydradx_traits:router:Trade>","keys_id":310,"value_id":137}} |
Name | Type | Value | |
|---|---|---|---|
| NativeAssetId | U32 | 00000000 |
Name | Docs |
|---|---|
| TradingLimitReached | The trading limit has been reached |
| MaxTradesExceeded | The the max number of trades limit is reached |
| PoolNotSupported | The AMM pool is not supported for executing trades |
| RouteHasNoTrades | Route has not trades to be executed |
| InsufficientBalance | The user has not enough balance to execute the trade |
| InvalidRouteExecution | The route execution failed in the underlying AMM |
| RouteCalculationFailed | The calculation of route trade amounts failed in the underlying AMM |
| InvalidRoute | The route is invalid |
| RouteUpdateIsNotSuccessful | The route update was not successful |