From f06f0785f1e928562ffdfd576ddab7c86f70113f Mon Sep 17 00:00:00 2001 From: Lawrence Forman Date: Thu, 4 Apr 2019 15:29:44 -0400 Subject: [PATCH] In `@0x/contracts-test-utils`: Inherit `OrderStatus` from `@0x/types` --- contracts/test-utils/src/types.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/contracts/test-utils/src/types.ts b/contracts/test-utils/src/types.ts index 8ba632cf33..acdcea433d 100644 --- a/contracts/test-utils/src/types.ts +++ b/contracts/test-utils/src/types.ts @@ -2,6 +2,8 @@ import { OrderWithoutDomain } from '@0x/types'; import { BigNumber } from '@0x/utils'; import { AbiDefinition } from 'ethereum-types'; +export { OrderStatus } from '@0x/types'; + export interface ERC20BalancesByOwner { [ownerAddress: string]: { [tokenAddress: string]: BigNumber; @@ -90,16 +92,6 @@ export interface Token { swarmHash: string; } -export enum OrderStatus { - Invalid, - InvalidMakerAssetAmount, - InvalidTakerAssetAmount, - Fillable, - Expired, - FullyFilled, - Cancelled, -} - export enum ContractName { TokenRegistry = 'TokenRegistry', MultiSigWalletWithTimeLock = 'MultiSigWalletWithTimeLock',