aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src/utils
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/utils
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/utils')
-rw-r--r--packages/migrations/src/utils/constants.ts3
-rw-r--r--packages/migrations/src/utils/token_info.ts24
2 files changed, 12 insertions, 15 deletions
diff --git a/packages/migrations/src/utils/constants.ts b/packages/migrations/src/utils/constants.ts
deleted file mode 100644
index 8871a470d..000000000
--- a/packages/migrations/src/utils/constants.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export const constants = {
- NULL_BYTES: '0x',
-};
diff --git a/packages/migrations/src/utils/token_info.ts b/packages/migrations/src/utils/token_info.ts
index f2ca3e8b3..968665c7d 100644
--- a/packages/migrations/src/utils/token_info.ts
+++ b/packages/migrations/src/utils/token_info.ts
@@ -1,41 +1,41 @@
-import { Token } from '../types';
+import { NULL_BYTES } from '@0xproject/utils';
-import { constants } from './constants';
+import { Token } from '../types';
export const tokenInfo: Token[] = [
{
name: 'Augur Reputation Token',
symbol: 'REP',
decimals: 18,
- ipfsHash: constants.NULL_BYTES,
- swarmHash: constants.NULL_BYTES,
+ ipfsHash: NULL_BYTES,
+ swarmHash: NULL_BYTES,
},
{
name: 'Digix DAO Token',
symbol: 'DGD',
decimals: 18,
- ipfsHash: constants.NULL_BYTES,
- swarmHash: constants.NULL_BYTES,
+ ipfsHash: NULL_BYTES,
+ swarmHash: NULL_BYTES,
},
{
name: 'Golem Network Token',
symbol: 'GNT',
decimals: 18,
- ipfsHash: constants.NULL_BYTES,
- swarmHash: constants.NULL_BYTES,
+ ipfsHash: NULL_BYTES,
+ swarmHash: NULL_BYTES,
},
{
name: 'MakerDAO',
symbol: 'MKR',
decimals: 18,
- ipfsHash: constants.NULL_BYTES,
- swarmHash: constants.NULL_BYTES,
+ ipfsHash: NULL_BYTES,
+ swarmHash: NULL_BYTES,
},
{
name: 'Melon Token',
symbol: 'MLN',
decimals: 18,
- ipfsHash: constants.NULL_BYTES,
- swarmHash: constants.NULL_BYTES,
+ ipfsHash: NULL_BYTES,
+ swarmHash: NULL_BYTES,
},
];