diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-18 01:23:06 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-18 01:23:06 +0800 |
commit | bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295 (patch) | |
tree | f76f4ec6147580eb1dd5d70207c8360e7e2f5413 /packages/utils | |
parent | 87fabbb943779d868d29c437f078a341cb177b2b (diff) | |
download | dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.gz dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.bz2 dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.lz dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.xz dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.zst dexon-0x-contracts-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.zip |
chore: tslint fix
Diffstat (limited to 'packages/utils')
-rw-r--r-- | packages/utils/src/abi_decoder.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/utils/src/abi_decoder.ts b/packages/utils/src/abi_decoder.ts index 9cc863909..c0b2c7950 100644 --- a/packages/utils/src/abi_decoder.ts +++ b/packages/utils/src/abi_decoder.ts @@ -99,6 +99,7 @@ export class AbiDecoder { const ethersInterface = new ethers.utils.Interface(abiArray); _.map(abiArray, (abi: AbiDefinition) => { if (abi.type === AbiType.Event) { + // tslint:disable-next-line:no-unnecessary-type-assertion const eventAbi = abi as EventAbi; const topic = ethersInterface.events[eventAbi.name].topic; const numIndexedArgs = _.reduce(eventAbi.inputs, (sum, input) => (input.indexed ? sum + 1 : sum), 0); |