cancelOrder
cancelOrder
cancelOrder
Parameters
Name | Type | Description |
---|---|---|
base | address | Address of the base asset for the trading pair. |
quote | address | Address of the quote asset for the trading pair. |
isBid | bool | Boolean value to locate the order in bid and ask orders |
orderId | uint256 | The order id to locate the order and cancel |
Returns
uint256 refunded
: returned asset amount. IfisBid
is true, returned asset is quote asset. IfisBid
is false, returned asset is base asset.
Last updated