diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-25 22:12:46 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 23:01:37 +0800 |
commit | 1e9147b8bb45a251eefdead23573a9e8d68fc34b (patch) | |
tree | 5c1f1c4aa80b2ece8c22b36659064cfb9e902b8a /packages/contracts/util/order.ts | |
parent | 2f65fadeaabf350c5fa6d2e822dc211f0632ae2e (diff) | |
download | dexon-sol-tools-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar dexon-sol-tools-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar.gz dexon-sol-tools-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar.bz2 dexon-sol-tools-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar.lz dexon-sol-tools-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar.xz dexon-sol-tools-1e9147b8bb45a251eefdead23573a9e8d68fc34b.tar.zst dexon-sol-tools-1e9147b8bb45a251eefdead23573a9e8d68fc34b.zip |
Normalize the dependencies
Diffstat (limited to 'packages/contracts/util/order.ts')
-rw-r--r-- | packages/contracts/util/order.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/contracts/util/order.ts b/packages/contracts/util/order.ts index 702b2312c..57bb2bcbf 100644 --- a/packages/contracts/util/order.ts +++ b/packages/contracts/util/order.ts @@ -1,16 +1,11 @@ -import { BigNumber, promisify } from '@0xproject/utils'; +import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import ethUtil = require('ethereumjs-util'); import * as _ from 'lodash'; -import Web3 = require('web3'); import { crypto } from './crypto'; import { OrderParams } from './types'; -// In order to benefit from type-safety, we re-assign the global web3 instance injected by Truffle -// with type `any` to a variable of type `Web3`. -const web3: Web3 = (global as any).web3; - export class Order { public params: OrderParams; private _web3Wrapper: Web3Wrapper; |