diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-11 16:24:55 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-11 16:24:55 +0800 |
commit | ce6078ed9455aa21f31970f3d3acc4401200cc5d (patch) | |
tree | 50809c45b6d940f44b6ac753433b5bb20557940d /packages/contract-wrappers/src/stores | |
parent | 817c332d11835f02726f0609374d1c25c9ab39b5 (diff) | |
download | dexon-sol-tools-ce6078ed9455aa21f31970f3d3acc4401200cc5d.tar dexon-sol-tools-ce6078ed9455aa21f31970f3d3acc4401200cc5d.tar.gz dexon-sol-tools-ce6078ed9455aa21f31970f3d3acc4401200cc5d.tar.bz2 dexon-sol-tools-ce6078ed9455aa21f31970f3d3acc4401200cc5d.tar.lz dexon-sol-tools-ce6078ed9455aa21f31970f3d3acc4401200cc5d.tar.xz dexon-sol-tools-ce6078ed9455aa21f31970f3d3acc4401200cc5d.tar.zst dexon-sol-tools-ce6078ed9455aa21f31970f3d3acc4401200cc5d.zip |
Refactor ExchangeTransferSimulator public interface to accet an AbstractBalanceAndProxyAllowanceLazyStore so that this module could be re-used in different contexts.
Diffstat (limited to 'packages/contract-wrappers/src/stores')
-rw-r--r-- | packages/contract-wrappers/src/stores/balance_proxy_allowance_lazy_store.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contract-wrappers/src/stores/balance_proxy_allowance_lazy_store.ts b/packages/contract-wrappers/src/stores/balance_proxy_allowance_lazy_store.ts index 614195157..c0250ce7c 100644 --- a/packages/contract-wrappers/src/stores/balance_proxy_allowance_lazy_store.ts +++ b/packages/contract-wrappers/src/stores/balance_proxy_allowance_lazy_store.ts @@ -1,14 +1,14 @@ -import { AbstractBalanceAndProxyAllowanceFetcher } from '@0xproject/order-utils'; import { BlockParamLiteral } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; +import { AbstractBalanceAndProxyAllowanceLazyStore } from '../abstract/abstract_balance_and_proxy_allowance_lazy_store'; import { TokenWrapper } from '../contract_wrappers/token_wrapper'; /** * Copy on read store for balances/proxyAllowances of tokens/accounts */ -export class BalanceAndProxyAllowanceLazyStore implements AbstractBalanceAndProxyAllowanceFetcher { +export class BalanceAndProxyAllowanceLazyStore implements AbstractBalanceAndProxyAllowanceLazyStore { private _tokenWrapper: TokenWrapper; private _defaultBlock: BlockParamLiteral; private _balance: { |