diff options
author | Ara Kevonian <=> | 2018-04-09 22:05:46 +0800 |
---|---|---|
committer | Ara Kevonian <=> | 2018-04-09 22:05:46 +0800 |
commit | c80b42712a9fc73c05c32cd3d3396a6a02a7969f (patch) | |
tree | b5584fedccf988847ce1e50f85cd28023d4993ad /packages/0x.js/src/contract_wrappers | |
parent | 8d76d74a1713dcec140c8d43f9ea7612b5cc38f1 (diff) | |
download | dexon-0x-contracts-c80b42712a9fc73c05c32cd3d3396a6a02a7969f.tar.gz dexon-0x-contracts-c80b42712a9fc73c05c32cd3d3396a6a02a7969f.tar.zst dexon-0x-contracts-c80b42712a9fc73c05c32cd3d3396a6a02a7969f.zip |
Lint/Prettify
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); } /** |