cancelOrders
cancelOrders
cancelOrders
Parameters
Name | Type | Description |
---|---|---|
base | address[] memory | Addresses of the base asset for the trading pair. |
quote | address[] memory | Addresses of the quote asset for the trading pair. |
isBid | bool[] | Boolean values to locate the order in bid and ask orders |
orderId | uint256[] memory | The order ids to locate the order and cancel |
Returns
uint256[] memory refunded
: returned asset amounts. IfisBid
is true, returned asset is quote asset. IfisBid
is false, returned asset is base asset.
Last updated