aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
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/contract-wrappers
parent1bbd7bf870730dfe2146819e3740522990eb83ca (diff)
downloaddexon-sol-tools-301cb296ec77e8af5c1722679e04cb983c848153.tar
dexon-sol-tools-301cb296ec77e8af5c1722679e04cb983c848153.tar.gz
dexon-sol-tools-301cb296ec77e8af5c1722679e04cb983c848153.tar.bz2
dexon-sol-tools-301cb296ec77e8af5c1722679e04cb983c848153.tar.lz
dexon-sol-tools-301cb296ec77e8af5c1722679e04cb983c848153.tar.xz
dexon-sol-tools-301cb296ec77e8af5c1722679e04cb983c848153.tar.zst
dexon-sol-tools-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/contract-wrappers')
-rw-r--r--packages/contract-wrappers/package.json1
-rw-r--r--packages/contract-wrappers/src/artifacts.ts2
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts2
-rw-r--r--packages/contract-wrappers/src/index.ts5
4 files changed, 3 insertions, 7 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json
index 86ffa1114..6ce7a775b 100644
--- a/packages/contract-wrappers/package.json
+++ b/packages/contract-wrappers/package.json
@@ -80,7 +80,6 @@
"@0xproject/fill-scenarios": "^1.0.1-rc.3",
"@0xproject/json-schemas": "^1.0.1-rc.4",
"@0xproject/order-utils": "^1.0.1-rc.3",
- "@0xproject/sol-compiler": "^1.0.5",
"@0xproject/types": "^1.0.1-rc.4",
"@0xproject/typescript-typings": "^1.0.4",
"@0xproject/utils": "^1.0.5",
diff --git a/packages/contract-wrappers/src/artifacts.ts b/packages/contract-wrappers/src/artifacts.ts
index 2481b311a..7e67544d2 100644
--- a/packages/contract-wrappers/src/artifacts.ts
+++ b/packages/contract-wrappers/src/artifacts.ts
@@ -1,4 +1,4 @@
-import { ContractArtifact } from '@0xproject/sol-compiler';
+import { ContractArtifact } from 'ethereum-types';
import * as DummyERC20Token from './artifacts/DummyERC20Token.json';
import * as DummyERC721Token from './artifacts/DummyERC721Token.json';
diff --git a/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts
index daf70253a..490a6c50a 100644
--- a/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts
+++ b/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts
@@ -1,6 +1,6 @@
-import { ContractArtifact } from '@0xproject/sol-compiler';
import { AbiDecoder, intervalUtils, logUtils } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
+import { ContractArtifact } from 'ethereum-types';
import { BlockParamLiteral, ContractAbi, FilterObject, LogEntry, LogWithDecodedArgs, RawLog } from 'ethereum-types';
import { Block, BlockAndLogStreamer, Log } from 'ethereumjs-blockstream';
import * as _ from 'lodash';
diff --git a/packages/contract-wrappers/src/index.ts b/packages/contract-wrappers/src/index.ts
index f7c10dcce..7b9f3cd12 100644
--- a/packages/contract-wrappers/src/index.ts
+++ b/packages/contract-wrappers/src/index.ts
@@ -51,15 +51,12 @@ export {
DataItem,
ConstructorStateMutability,
StateMutability,
-} from 'ethereum-types';
-
-export {
ContractArtifact,
GeneratedCompilerOptions,
ContractNetworks,
Source,
ContractNetworkData,
-} from '@0xproject/sol-compiler';
+} from 'ethereum-types';
export {
WETH9Events,