Add test when the order was already cancelled or filled
This commit is contained in:
@@ -80,6 +80,9 @@ export interface ExchangeContract {
|
||||
cancelled: {
|
||||
call: (orderHash: string) => BigNumber.BigNumber;
|
||||
};
|
||||
getOrderHash: {
|
||||
call: (orderAddresses: OrderAddresses, orderValues: OrderValues) => string;
|
||||
}
|
||||
}
|
||||
|
||||
export interface TokenContract {
|
||||
@@ -123,6 +126,7 @@ export const ExchangeContractErrs = strEnum([
|
||||
'ORDER_FILL_EXPIRED',
|
||||
'ORDER_CANCEL_EXPIRED',
|
||||
'ORDER_CANCEL_AMOUNT_ZERO',
|
||||
'ORDER_ALREADY_CANCELLED_OR_FILLED',
|
||||
'ORDER_REMAINING_FILL_AMOUNT_ZERO',
|
||||
'ORDER_FILL_ROUNDING_ERROR',
|
||||
'FILL_BALANCE_ALLOWANCE_ERROR',
|
||||
|
Reference in New Issue
Block a user