diff options
author | Ara Kevonian <ara@dextroid.io> | 2018-04-13 18:17:09 +0800 |
---|---|---|
committer | Ara Kevonian <ara@dextroid.io> | 2018-04-13 18:17:09 +0800 |
commit | 5355da6cad157bb67d1b55a2f8463efe3e072385 (patch) | |
tree | d2a4d0d718ea6b1b4dff6d5d138b7da54968568e /packages/0x.js/src/contract_wrappers | |
parent | 38f7c4a0d2d9269b5fd185b303ede7a44ab78c99 (diff) | |
download | dexon-0x-contracts-5355da6cad157bb67d1b55a2f8463efe3e072385.tar.gz dexon-0x-contracts-5355da6cad157bb67d1b55a2f8463efe3e072385.tar.zst dexon-0x-contracts-5355da6cad157bb67d1b55a2f8463efe3e072385.zip |
Rename BalanceAndAllowanceFetchers to BalanceAndProxyAllowanceFetchers
Diffstat (limited to 'packages/0x.js/src/contract_wrappers')
-rw-r--r-- | packages/0x.js/src/contract_wrappers/exchange_wrapper.ts | 8 |
1 files changed, 4 insertions, 4 deletions
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<OrderState> { - 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); } /** |