From 5355da6cad157bb67d1b55a2f8463efe3e072385 Mon Sep 17 00:00:00 2001 From: Ara Kevonian Date: Fri, 13 Apr 2018 03:17:09 -0700 Subject: Rename BalanceAndAllowanceFetchers to BalanceAndProxyAllowanceFetchers --- packages/0x.js/src/contract_wrappers/exchange_wrapper.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/0x.js/src/contract_wrappers/exchange_wrapper.ts') diff --git a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts index 65b5a2e53..5dea70769 100644 --- a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts @@ -13,7 +13,7 @@ import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; import { artifacts } from '../artifacts'; -import { SimpleBalanceAndAllowanceFetcher } from '../fetchers/simple_balance_and_allowance_fetcher'; +import { SimpleBalanceAndProxyAllowanceFetcher } from '../fetchers/simple_balance_and_proxy_allowance_fetcher'; import { SimpleOrderFilledCancelledFetcher } from '../fetchers/simple_order_filled_cancelled_fetcher'; import { BlockRange, @@ -881,12 +881,12 @@ export class ExchangeWrapper extends ContractWrapper { * @param signedOrder The signedOrder */ public async getOrderStateAsync(signedOrder: SignedOrder): Promise { - const balanceAndProxyAllowanceLazyStore = new SimpleBalanceAndAllowanceFetcher( + const simpleBalanceAndProxyAllowanceFetcher = new SimpleBalanceAndProxyAllowanceFetcher( this._tokenWrapper, BlockParamLiteral.Latest, ); - const orderFilledCancelledLazyStore = new SimpleOrderFilledCancelledFetcher(this); - const orderStateUtils = new OrderStateUtils(balanceAndProxyAllowanceLazyStore, orderFilledCancelledLazyStore); + const simpleOrderFilledCancelledFetcher = new SimpleOrderFilledCancelledFetcher(this); + const orderStateUtils = new OrderStateUtils(simpleBalanceAndProxyAllowanceFetcher, simpleOrderFilledCancelledFetcher); return orderStateUtils.getOrderStateAsync(signedOrder); } /** -- cgit