aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src/migration.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-11 21:00:54 +0800
committerFabio Berger <me@fabioberger.com>2018-04-11 21:00:54 +0800
commitf892b7dbf657f71f4fec177e838883de8327624b (patch)
treea8562cf591382b619af96adb55f0709f02f75af6 /packages/migrations/src/migration.ts
parentb146acc69e46d2565474bcb4d47bfa760fd26fad (diff)
downloaddexon-sol-tools-f892b7dbf657f71f4fec177e838883de8327624b.tar
dexon-sol-tools-f892b7dbf657f71f4fec177e838883de8327624b.tar.gz
dexon-sol-tools-f892b7dbf657f71f4fec177e838883de8327624b.tar.bz2
dexon-sol-tools-f892b7dbf657f71f4fec177e838883de8327624b.tar.lz
dexon-sol-tools-f892b7dbf657f71f4fec177e838883de8327624b.tar.xz
dexon-sol-tools-f892b7dbf657f71f4fec177e838883de8327624b.tar.zst
dexon-sol-tools-f892b7dbf657f71f4fec177e838883de8327624b.zip
Move NULL_BYTES to @0xproject/utils
Diffstat (limited to 'packages/migrations/src/migration.ts')
-rw-r--r--packages/migrations/src/migration.ts12
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts
index be899cc65..4827328fc 100644
--- a/packages/migrations/src/migration.ts
+++ b/packages/migrations/src/migration.ts
@@ -1,10 +1,8 @@
import { Deployer } from '@0xproject/deployer';
-import { BigNumber } from '@0xproject/utils';
+import { BigNumber, NULL_BYTES } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as _ from 'lodash';
-import { constants } from './utils/constants';
-
import { ContractName } from './types';
import { tokenInfo } from './utils/token_info';
@@ -51,8 +49,8 @@ export const runMigrationsAsync = async (deployer: Deployer) => {
'0x Protocol Token',
'ZRX',
18,
- constants.NULL_BYTES,
- constants.NULL_BYTES,
+ NULL_BYTES,
+ NULL_BYTES,
{
from: owner,
gas: addTokenGasEstimate,
@@ -63,8 +61,8 @@ export const runMigrationsAsync = async (deployer: Deployer) => {
'Ether Token',
'WETH',
18,
- constants.NULL_BYTES,
- constants.NULL_BYTES,
+ NULL_BYTES,
+ NULL_BYTES,
{
from: owner,
gas: addTokenGasEstimate,