diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 06:26:40 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 06:26:40 +0800 |
commit | a97d77064aacda3de74b04894f110b05298c5ca8 (patch) | |
tree | fa8cfc4b0bf65b065fd2c7acc2691b1b2c6261bd /packages/contract-wrappers | |
parent | 6a2da6dc06c616ba50930bbe04a6fa200885ecfd (diff) | |
download | dexon-0x-contracts-a97d77064aacda3de74b04894f110b05298c5ca8.tar dexon-0x-contracts-a97d77064aacda3de74b04894f110b05298c5ca8.tar.gz dexon-0x-contracts-a97d77064aacda3de74b04894f110b05298c5ca8.tar.bz2 dexon-0x-contracts-a97d77064aacda3de74b04894f110b05298c5ca8.tar.lz dexon-0x-contracts-a97d77064aacda3de74b04894f110b05298c5ca8.tar.xz dexon-0x-contracts-a97d77064aacda3de74b04894f110b05298c5ca8.tar.zst dexon-0x-contracts-a97d77064aacda3de74b04894f110b05298c5ca8.zip |
Get build and tests to pass
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers/token_wrapper.ts | 2 | ||||
-rw-r--r-- | packages/contract-wrappers/src/utils/assert.ts | 5 | ||||
-rw-r--r-- | packages/contract-wrappers/src/utils/filter_utils.ts | 5 |
3 files changed, 9 insertions, 3 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/token_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/token_wrapper.ts index ba1422b7e..7c7907fd2 100644 --- a/packages/contract-wrappers/src/contract_wrappers/token_wrapper.ts +++ b/packages/contract-wrappers/src/contract_wrappers/token_wrapper.ts @@ -414,7 +414,7 @@ export class TokenWrapper extends ContractWrapper { ); return logs; } - // tslint:disable:no-unused-variable + // tslint:disable-next-line:no-unused-variable private _invalidateContractInstances(): void { this.unsubscribeAll(); this._tokenContractsByAddress = {}; diff --git a/packages/contract-wrappers/src/utils/assert.ts b/packages/contract-wrappers/src/utils/assert.ts index bc4114d56..140979e7e 100644 --- a/packages/contract-wrappers/src/utils/assert.ts +++ b/packages/contract-wrappers/src/utils/assert.ts @@ -1,10 +1,11 @@ import { assert as sharedAssert } from '@0xproject/assert'; // We need those two unused imports because they're actually used by sharedAssert which gets injected here -// tslint:disable-next-line:no-unused-variable +// tslint:disable:no-unused-variable import { Schema } from '@0xproject/json-schemas'; -// tslint:disable-next-line:no-unused-variable import { ECSignature } from '@0xproject/types'; +import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; +// tslint:enable:no-unused-variable import { isValidSignature } from '@0xproject/order-utils'; diff --git a/packages/contract-wrappers/src/utils/filter_utils.ts b/packages/contract-wrappers/src/utils/filter_utils.ts index 0dab61c02..5256d010f 100644 --- a/packages/contract-wrappers/src/utils/filter_utils.ts +++ b/packages/contract-wrappers/src/utils/filter_utils.ts @@ -1,9 +1,14 @@ +// tslint:disable:no-unused-variable import { + ConstructorAbi, ContractAbi, EventAbi, + FallbackAbi, FilterObject, LogEntry, + MethodAbi, } from '@0xproject/types'; +// tslint:enable:no-unused-variable import * as ethUtil from 'ethereumjs-util'; import * as jsSHA3 from 'js-sha3'; import * as _ from 'lodash'; |