aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-22 06:58:06 +0800
committerFabio Berger <me@fabioberger.com>2018-08-22 06:58:06 +0800
commit301cb296ec77e8af5c1722679e04cb983c848153 (patch)
treec4f3c94c2f76e47d7b12d3761af57c15819c9cc2 /packages/migrations
parent1bbd7bf870730dfe2146819e3740522990eb83ca (diff)
downloaddexon-0x-contracts-301cb296ec77e8af5c1722679e04cb983c848153.tar.gz
dexon-0x-contracts-301cb296ec77e8af5c1722679e04cb983c848153.tar.zst
dexon-0x-contracts-301cb296ec77e8af5c1722679e04cb983c848153.zip
Move types from sol-compiler to types so they can be used in other places without requiring sol-compiler as a dep
Diffstat (limited to 'packages/migrations')
-rw-r--r--packages/migrations/package.json1
-rw-r--r--packages/migrations/src/1.0.0/artifacts.ts2
-rw-r--r--packages/migrations/src/2.0.0-beta-testnet/artifacts.ts2
-rw-r--r--packages/migrations/src/2.0.0/artifacts.ts2
-rw-r--r--packages/migrations/src/utils/artifact_writer.ts2
5 files changed, 5 insertions, 4 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json
index f196ffad6..ae29cce4e 100644
--- a/packages/migrations/package.json
+++ b/packages/migrations/package.json
@@ -41,6 +41,7 @@
"@0xproject/dev-utils": "^1.0.4",
"@0xproject/tslint-config": "^1.0.5",
"@0xproject/types": "^1.0.1-rc.4",
+ "@0xproject/sol-compiler": "^1.0.5",
"@types/yargs": "^10.0.0",
"copyfiles": "^2.0.0",
"make-promises-safe": "^1.1.0",
diff --git a/packages/migrations/src/1.0.0/artifacts.ts b/packages/migrations/src/1.0.0/artifacts.ts
index d0a9f735a..f5226e174 100644
--- a/packages/migrations/src/1.0.0/artifacts.ts
+++ b/packages/migrations/src/1.0.0/artifacts.ts
@@ -1,4 +1,4 @@
-import { ContractArtifact } from '@0xproject/sol-compiler';
+import { ContractArtifact } from 'ethereum-types';
import * as DummyERC20Token from '../../artifacts/1.0.0/DummyERC20Token.json';
import * as Exchange from '../../artifacts/1.0.0/Exchange_v1.json';
diff --git a/packages/migrations/src/2.0.0-beta-testnet/artifacts.ts b/packages/migrations/src/2.0.0-beta-testnet/artifacts.ts
index c9a341eb3..1c9ffd2d6 100644
--- a/packages/migrations/src/2.0.0-beta-testnet/artifacts.ts
+++ b/packages/migrations/src/2.0.0-beta-testnet/artifacts.ts
@@ -1,4 +1,4 @@
-import { ContractArtifact } from '@0xproject/sol-compiler';
+import { ContractArtifact } from 'ethereum-types';
import * as AssetProxyOwner from '../../artifacts/2.0.0-beta-testnet/AssetProxyOwner.json';
import * as ERC20Proxy from '../../artifacts/2.0.0-beta-testnet/ERC20Proxy.json';
diff --git a/packages/migrations/src/2.0.0/artifacts.ts b/packages/migrations/src/2.0.0/artifacts.ts
index 8bbd1fcd9..8d66e3b63 100644
--- a/packages/migrations/src/2.0.0/artifacts.ts
+++ b/packages/migrations/src/2.0.0/artifacts.ts
@@ -1,4 +1,4 @@
-import { ContractArtifact } from '@0xproject/sol-compiler';
+import { ContractArtifact } from 'ethereum-types';
import * as AssetProxyOwner from '../../artifacts/2.0.0/AssetProxyOwner.json';
import * as DummyERC20Token from '../../artifacts/2.0.0/DummyERC20Token.json';
diff --git a/packages/migrations/src/utils/artifact_writer.ts b/packages/migrations/src/utils/artifact_writer.ts
index b7522df05..ea9c7952d 100644
--- a/packages/migrations/src/utils/artifact_writer.ts
+++ b/packages/migrations/src/utils/artifact_writer.ts
@@ -1,5 +1,5 @@
import { BaseContract } from '@0xproject/base-contract';
-import { ContractArtifact } from '@0xproject/sol-compiler';
+import { ContractArtifact } from 'ethereum-types';
import * as fs from 'fs';
import * as path from 'path';