In @0x/contracts-test-utils: Inherit OrderStatus from @0x/types

This commit is contained in:
Lawrence Forman 2019-04-04 15:29:44 -04:00 committed by Amir Bandeali
parent 1aae68c614
commit f06f0785f1

View File

@ -2,6 +2,8 @@ import { OrderWithoutDomain } from '@0x/types';
import { BigNumber } from '@0x/utils'; import { BigNumber } from '@0x/utils';
import { AbiDefinition } from 'ethereum-types'; import { AbiDefinition } from 'ethereum-types';
export { OrderStatus } from '@0x/types';
export interface ERC20BalancesByOwner { export interface ERC20BalancesByOwner {
[ownerAddress: string]: { [ownerAddress: string]: {
[tokenAddress: string]: BigNumber; [tokenAddress: string]: BigNumber;
@ -90,16 +92,6 @@ export interface Token {
swarmHash: string; swarmHash: string;
} }
export enum OrderStatus {
Invalid,
InvalidMakerAssetAmount,
InvalidTakerAssetAmount,
Fillable,
Expired,
FullyFilled,
Cancelled,
}
export enum ContractName { export enum ContractName {
TokenRegistry = 'TokenRegistry', TokenRegistry = 'TokenRegistry',
MultiSigWalletWithTimeLock = 'MultiSigWalletWithTimeLock', MultiSigWalletWithTimeLock = 'MultiSigWalletWithTimeLock',