aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
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/exchange_wrapper.ts
parenta63dfb7995e90c330112557396a8523561fa231a (diff)
downloaddexon-sol-tools-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar
dexon-sol-tools-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar.gz
dexon-sol-tools-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar.bz2
dexon-sol-tools-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar.lz
dexon-sol-tools-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar.xz
dexon-sol-tools-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.tar.zst
dexon-sol-tools-1a161cc02e38d2a8aaf31cc3cc6dbab8e873b9ea.zip
Fix linter and prettier
Diffstat (limited to 'packages/0x.js/src/contract_wrappers/exchange_wrapper.ts')
-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;
}