aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-07 06:26:40 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-07 06:26:40 +0800
commita97d77064aacda3de74b04894f110b05298c5ca8 (patch)
treefa8cfc4b0bf65b065fd2c7acc2691b1b2c6261bd /packages/contract-wrappers
parent6a2da6dc06c616ba50930bbe04a6fa200885ecfd (diff)
downloaddexon-sol-tools-a97d77064aacda3de74b04894f110b05298c5ca8.tar.gz
dexon-sol-tools-a97d77064aacda3de74b04894f110b05298c5ca8.tar.zst
dexon-sol-tools-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.ts2
-rw-r--r--packages/contract-wrappers/src/utils/assert.ts5
-rw-r--r--packages/contract-wrappers/src/utils/filter_utils.ts5
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';