Try enabling no-unused-variable...

This commit is contained in:
fragosti
2018-06-04 19:48:21 -07:00
parent 70858603ed
commit 9778695b4a
180 changed files with 110 additions and 420 deletions

View File

@@ -29,12 +29,9 @@ export class AbiDecoder {
return log;
}
const ethersInterface = new ethers.Interface([event]);
const logData = log.data;
const decodedParams: DecodedLogArgs = {};
let topicsIndex = 1;
const nonIndexedInputs = _.filter(event.inputs, input => !input.indexed);
const dataTypes = _.map(nonIndexedInputs, input => input.type);
const decodedData = ethersInterface.events[event.name].parse(log.data);
let didFailToDecode = false;

View File

@@ -1,4 +1,4 @@
import { AbiDefinition, AbiType, ConstructorAbi, ContractAbi, DataItem, MethodAbi } from 'ethereum-types';
import { AbiDefinition, AbiType, ContractAbi, DataItem, MethodAbi } from 'ethereum-types';
import * as _ from 'lodash';
export const abiUtils = {

View File

@@ -1,4 +1,3 @@
import * as _ from 'lodash';
export const intervalUtils = {
setAsyncExcludingInterval(