Try enabling no-unused-variable...
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import * as _ from 'lodash';
|
||||
|
||||
export const intervalUtils = {
|
||||
setAsyncExcludingInterval(
|
||||
|
||||
Reference in New Issue
Block a user