diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-22 06:58:06 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-22 06:58:06 +0800 |
commit | 301cb296ec77e8af5c1722679e04cb983c848153 (patch) | |
tree | c4f3c94c2f76e47d7b12d3761af57c15819c9cc2 /packages/contract-wrappers/src | |
parent | 1bbd7bf870730dfe2146819e3740522990eb83ca (diff) | |
download | dexon-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/src')
-rw-r--r-- | packages/contract-wrappers/src/artifacts.ts | 2 | ||||
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts | 2 | ||||
-rw-r--r-- | packages/contract-wrappers/src/index.ts | 5 |
3 files changed, 3 insertions, 6 deletions
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, |