diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-05 05:52:49 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:36:59 +0800 |
commit | 57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0 (patch) | |
tree | bc116aa8ccd5f5f8432157074d09d8266f0158f8 /packages/order-utils/test | |
parent | 2bd7b0f66bd28792281ba025cf005c666e7f767e (diff) | |
download | dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.gz dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.bz2 dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.lz dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.xz dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.zst dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.zip |
update order-utils to use new artifacts and abi-gen wrappers packages
Diffstat (limited to 'packages/order-utils/test')
-rw-r--r-- | packages/order-utils/test/exchange_transfer_simulator_test.ts | 6 | ||||
-rw-r--r-- | packages/order-utils/test/utils/simple_erc20_balance_and_proxy_allowance_fetcher.ts | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/packages/order-utils/test/exchange_transfer_simulator_test.ts b/packages/order-utils/test/exchange_transfer_simulator_test.ts index f5c18cdb9..c2367fd7f 100644 --- a/packages/order-utils/test/exchange_transfer_simulator_test.ts +++ b/packages/order-utils/test/exchange_transfer_simulator_test.ts @@ -1,15 +1,13 @@ +import { DummyERC20TokenContract, ERC20ProxyContract, ERC20TokenContract } from '@0xproject/abi-gen-wrappers'; +import * as artifacts from '@0xproject/contract-artifacts'; import { BlockchainLifecycle, devConstants } from '@0xproject/dev-utils'; import { ExchangeContractErrs } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; -import { artifacts } from '../src/artifacts'; import { assetDataUtils } from '../src/asset_data_utils'; import { constants } from '../src/constants'; import { ExchangeTransferSimulator } from '../src/exchange_transfer_simulator'; -import { DummyERC20TokenContract } from '../src/generated_contract_wrappers/dummy_erc20_token'; -import { ERC20ProxyContract } from '../src/generated_contract_wrappers/erc20_proxy'; -import { ERC20TokenContract } from '../src/generated_contract_wrappers/erc20_token'; import { BalanceAndProxyAllowanceLazyStore } from '../src/store/balance_and_proxy_allowance_lazy_store'; import { TradeSide, TransferType } from '../src/types'; diff --git a/packages/order-utils/test/utils/simple_erc20_balance_and_proxy_allowance_fetcher.ts b/packages/order-utils/test/utils/simple_erc20_balance_and_proxy_allowance_fetcher.ts index 279a5c0db..d00a25031 100644 --- a/packages/order-utils/test/utils/simple_erc20_balance_and_proxy_allowance_fetcher.ts +++ b/packages/order-utils/test/utils/simple_erc20_balance_and_proxy_allowance_fetcher.ts @@ -1,9 +1,8 @@ +import { ERC20TokenContract } from '@0xproject/abi-gen-wrappers'; import { BigNumber } from '@0xproject/utils'; import { AbstractBalanceAndProxyAllowanceFetcher } from '../../src/abstract/abstract_balance_and_proxy_allowance_fetcher'; -import { ERC20TokenContract } from '../../src/generated_contract_wrappers/erc20_token'; - export class SimpleERC20BalanceAndProxyAllowanceFetcher implements AbstractBalanceAndProxyAllowanceFetcher { private readonly _erc20TokenContract: ERC20TokenContract; private readonly _erc20ProxyAddress: string; |