Skip to main content

CloberOrderCanceler

CloberOrderCanceler

CancelParams

struct CancelParams {
address market;
uint256[] tokenIds;
}

cancel

function cancel(struct CloberOrderCanceler.CancelParams[] paramsList) external

Cancel orders across markets.

Parameters

NameTypeDescription
paramsListstruct CloberOrderCanceler.CancelParams[]The list of CancelParams.

cancelTo

function cancelTo(struct CloberOrderCanceler.CancelParams[] paramsList, address to) external

Cancel orders across markets.

Parameters

NameTypeDescription
paramsListstruct CloberOrderCanceler.CancelParams[]The list of CancelParams.
toaddressThe address to receive the canceled assets.