diff options
author | Jacob Evans <jacob@dekz.net> | 2018-04-18 09:24:59 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-04-18 09:24:59 +0800 |
commit | 1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea (patch) | |
tree | cea85884a7c0a58f46a95ce1e7fa737f78aed9d6 /packages/0x.js/src/contract_wrappers | |
parent | a63dfb7995e90c330112557396a8523561fa231a (diff) | |
download | dexon-0x-contracts-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar.gz dexon-0x-contracts-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar.zst dexon-0x-contracts-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.zip |
Fix linter and prettier
Diffstat (limited to 'packages/0x.js/src/contract_wrappers')
-rw-r--r-- | packages/0x.js/src/contract_wrappers/exchange_wrapper.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts index eacd3ebf0..7cda70f16 100644 --- a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts @@ -882,13 +882,19 @@ export class ExchangeWrapper extends ContractWrapper { * @param stateLayer Optional, desired blockchain state layer (defaults to latest). * @return OrderState of the signedOrder */ - public async getOrderStateAsync(signedOrder: SignedOrder, stateLayer: BlockParamLiteral = BlockParamLiteral.Latest): Promise<OrderState> { + public async getOrderStateAsync( + signedOrder: SignedOrder, + stateLayer: BlockParamLiteral = BlockParamLiteral.Latest, + ): Promise<OrderState> { const simpleBalanceAndProxyAllowanceFetcher = new SimpleBalanceAndProxyAllowanceFetcher( this._tokenWrapper, stateLayer, ); const simpleOrderFilledCancelledFetcher = new SimpleOrderFilledCancelledFetcher(this, stateLayer); - const orderStateUtils = new OrderStateUtils(simpleBalanceAndProxyAllowanceFetcher, simpleOrderFilledCancelledFetcher); + const orderStateUtils = new OrderStateUtils( + simpleBalanceAndProxyAllowanceFetcher, + simpleOrderFilledCancelledFetcher, + ); const orderState = orderStateUtils.getOrderStateAsync(signedOrder); return orderState; } |