diff options
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 32148df7e..a89c27576 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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', |