In @0x/contracts-test-utils
: Inherit OrderStatus
from @0x/types
This commit is contained in:
parent
1aae68c614
commit
f06f0785f1
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user