aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-04-18 09:24:59 +0800
committerJacob Evans <jacob@dekz.net>2018-04-18 09:24:59 +0800
commit1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea (patch)
treecea85884a7c0a58f46a95ce1e7fa737f78aed9d6 /packages/0x.js/src/contract_wrappers
parenta63dfb7995e90c330112557396a8523561fa231a (diff)
downloaddexon-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.ts10
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;
}