aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-31 05:41:36 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-01 02:04:05 +0800
commita7fc9caacb7b98c7d79333e60ee9862945a67ecc (patch)
treed26d61dd0b2f19d68f34b4de460fa0cb225622d6 /packages/base-contract
parentc284f6dcd4e10388e0dd474be08788ddef6b4f30 (diff)
downloaddexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar
dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.gz
dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.bz2
dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.lz
dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.xz
dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.zst
dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.zip
Introduce ethereum-types package
Diffstat (limited to 'packages/base-contract')
-rw-r--r--packages/base-contract/package.json2
-rw-r--r--packages/base-contract/src/index.ts6
-rw-r--r--packages/base-contract/src/utils.ts2
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/base-contract/package.json b/packages/base-contract/package.json
index f79d3ebf6..c01a133e4 100644
--- a/packages/base-contract/package.json
+++ b/packages/base-contract/package.json
@@ -42,7 +42,7 @@
"typescript": "2.7.1"
},
"dependencies": {
- "@0xproject/types": "^0.7.0",
+ "ethereum-types": "^0.0.1",
"@0xproject/typescript-typings": "^0.3.2",
"@0xproject/utils": "^0.6.2",
"@0xproject/web3-wrapper": "^0.6.4",
diff --git a/packages/base-contract/src/index.ts b/packages/base-contract/src/index.ts
index f9298f413..d9e28f9f2 100644
--- a/packages/base-contract/src/index.ts
+++ b/packages/base-contract/src/index.ts
@@ -1,3 +1,5 @@
+import { abiUtils, BigNumber } from '@0xproject/utils';
+import { Web3Wrapper } from '@0xproject/web3-wrapper';
import {
AbiDefinition,
AbiType,
@@ -8,9 +10,7 @@ import {
Provider,
TxData,
TxDataPayable,
-} from '@0xproject/types';
-import { abiUtils, BigNumber } from '@0xproject/utils';
-import { Web3Wrapper } from '@0xproject/web3-wrapper';
+} from 'ethereum-types';
import * as ethers from 'ethers';
import * as _ from 'lodash';
diff --git a/packages/base-contract/src/utils.ts b/packages/base-contract/src/utils.ts
index 4b86bb1ad..61f176df5 100644
--- a/packages/base-contract/src/utils.ts
+++ b/packages/base-contract/src/utils.ts
@@ -1,4 +1,4 @@
-import { DataItem } from '@0xproject/types';
+import { DataItem } from 'ethereum-types';
import * as _ from 'lodash';
// tslint:disable-next-line:completed-docs