Fix lint errors

This commit is contained in:
Fabio Berger
2018-06-25 20:08:00 +02:00
parent 71c9b98896
commit 178676ef8c
3 changed files with 2 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import { AssetProxyId, ExchangeContractErrs } from '@0xproject/types';
import { ExchangeContractErrs } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import { AbstractBalanceAndProxyAllowanceLazyStore } from './abstract/abstract_balance_and_proxy_allowance_lazy_store';
@@ -90,7 +90,6 @@ export class ExchangeTransferSimulator {
userAddress: string,
amountInBaseUnits: BigNumber,
): Promise<void> {
const assetProxyId = assetProxyUtils.decodeAssetDataId(assetData);
const proxyAllowance = await this._store.getProxyAllowanceAsync(assetData, userAddress);
// HACK: This code assumes that all tokens with an UNLIMITED_ALLOWANCE_IN_BASE_UNITS set,
// are UnlimitedAllowanceTokens. This is however not true, it just so happens that all

View File

@@ -7,7 +7,6 @@ import {
SignedOrder,
} from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
import { AbstractBalanceAndProxyAllowanceFetcher } from './abstract/abstract_balance_and_proxy_allowance_fetcher';
import { AbstractOrderFilledCancelledFetcher } from './abstract/abstract_order_filled_cancelled_fetcher';

View File

@@ -1,5 +1,4 @@
import { Order, SignedOrder } from '@0xproject/types';
import { RevertReasons } from '@0xproject/types';
import { RevertReasons, SignedOrder } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import { Provider } from 'ethereum-types';
import * as _ from 'lodash';