Name | Lookup | Attributes | |
---|---|---|---|
RouteExecuted | 6f00 | ["AssetId","AssetId","Balance","Balance"] | |
RouteUpdated | 6f01 | ["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":340,"value_id":543}} |
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 |