aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-18 01:23:06 +0800
committerFabio Berger <me@fabioberger.com>2018-10-18 01:23:06 +0800
commitbdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295 (patch)
treef76f4ec6147580eb1dd5d70207c8360e7e2f5413 /packages/base-contract/src
parent87fabbb943779d868d29c437f078a341cb177b2b (diff)
downloaddexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.gz
dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.zst
dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.zip
chore: tslint fix
Diffstat (limited to 'packages/base-contract/src')
-rw-r--r--packages/base-contract/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base-contract/src/index.ts b/packages/base-contract/src/index.ts
index 354362d45..73550ffd4 100644
--- a/packages/base-contract/src/index.ts
+++ b/packages/base-contract/src/index.ts
@@ -1,6 +1,5 @@
import { abiUtils, BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
-import { FunctionAbi } from 'ethereum-protocol';
import {
AbiDefinition,
AbiType,
@@ -130,6 +129,7 @@ export class BaseContract {
if (abiDefinition.type !== AbiType.Function) {
return false;
}
+ // tslint:disable-next-line:no-unnecessary-type-assertion
const abiFunctionSignature = abiUtils.getFunctionSignature(abiDefinition as MethodAbi);
if (abiFunctionSignature === functionSignature) {
return true;