aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-18 21:18:54 +0800
committerGitHub <noreply@github.com>2018-07-18 21:18:54 +0800
commite2fb49a8f871fd4b631bb01bb641c632b7c19435 (patch)
tree6a04c7686159cfa80435e47e08ceb08533c0dd77 /packages/migrations/src
parentf3241ff86a0d99f4291c5a5f4eaaa5ebe1736da0 (diff)
parentb9e7973a0f92661f2e469b748a162b0d3bb53624 (diff)
downloaddexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.gz
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.bz2
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.lz
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.xz
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.zst
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.zip
Merge pull request #884 from 0xProject/export-more-0x.js
Export missing V2 pieces from 0x.js
Diffstat (limited to 'packages/migrations/src')
-rw-r--r--packages/migrations/src/2.0.0/migration.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/migrations/src/2.0.0/migration.ts b/packages/migrations/src/2.0.0/migration.ts
index 226bf0a68..f51c236de 100644
--- a/packages/migrations/src/2.0.0/migration.ts
+++ b/packages/migrations/src/2.0.0/migration.ts
@@ -1,4 +1,4 @@
-import { assetProxyUtils } from '@0xproject/order-utils';
+import { assetDataUtils } from '@0xproject/order-utils';
import { BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { Provider, TxData } from 'ethereum-types';
@@ -53,7 +53,7 @@ export const runV2MigrationsAsync = async (provider: Provider, artifactsDir: str
artifacts.Exchange,
provider,
txDefaults,
- assetProxyUtils.encodeERC20AssetData(zrxToken.address),
+ assetDataUtils.encodeERC20AssetData(zrxToken.address),
);
artifactsWriter.saveArtifact(exchange);
@@ -137,8 +137,8 @@ export const runV2MigrationsAsync = async (provider: Provider, artifactsDir: str
exchange.address,
etherToken.address,
zrxToken.address,
- assetProxyUtils.encodeERC20AssetData(zrxToken.address),
- assetProxyUtils.encodeERC20AssetData(etherToken.address),
+ assetDataUtils.encodeERC20AssetData(zrxToken.address),
+ assetDataUtils.encodeERC20AssetData(etherToken.address),
);
artifactsWriter.saveArtifact(forwarder);
};