diff options
Diffstat (limited to 'packages/0x.js/src/contract_wrappers')
-rw-r--r-- | packages/0x.js/src/contract_wrappers/exchange_wrapper.ts | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts index fb1877f4a..b6949e465 100644 --- a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts @@ -16,19 +16,19 @@ import { artifacts } from '../artifacts'; import { BalanceAndProxyAllowanceLazyStore } from '../stores/balance_proxy_allowance_lazy_store'; import { OrderFilledCancelledLazyStore } from '../stores/order_filled_cancelled_lazy_store'; import { -BlockRange, -EventCallback, -ExchangeContractErrCodes, -ExchangeContractErrs, -IndexedFilterValues, -MethodOpts, -OrderAddresses, -OrderCancellationRequest, -OrderFillRequest, -OrderState, -OrderTransactionOpts, -OrderValues, -ValidateOrderFillableOpts, + BlockRange, + EventCallback, + ExchangeContractErrCodes, + ExchangeContractErrs, + IndexedFilterValues, + MethodOpts, + OrderAddresses, + OrderCancellationRequest, + OrderFillRequest, + OrderState, + OrderTransactionOpts, + OrderValues, + ValidateOrderFillableOpts, } from '../types'; import { assert } from '../utils/assert'; import { decorators } from '../utils/decorators'; @@ -39,10 +39,10 @@ import { utils } from '../utils/utils'; import { ContractWrapper } from './contract_wrapper'; import { -ExchangeContract, -ExchangeContractEventArgs, -ExchangeEvents, -LogErrorContractEventArgs, + ExchangeContract, + ExchangeContractEventArgs, + ExchangeEvents, + LogErrorContractEventArgs, } from './generated/exchange'; import { TokenWrapper } from './token_wrapper'; const SHOULD_VALIDATE_BY_DEFAULT = true; @@ -886,10 +886,7 @@ export class ExchangeWrapper extends ContractWrapper { BlockParamLiteral.Latest, ); const orderFilledCancelledLazyStore = new OrderFilledCancelledLazyStore(this); - const orderStateUtils = new OrderStateUtils( - balanceAndProxyAllowanceLazyStore, - orderFilledCancelledLazyStore, - ); + const orderStateUtils = new OrderStateUtils(balanceAndProxyAllowanceLazyStore, orderFilledCancelledLazyStore); return orderStateUtils.getOrderStateAsync(signedOrder); } /** |