diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 847f5c961b..b5d6c08fc1 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -114,15 +114,22 @@ declare module 'web3' { type LogTopic = null|string|string[]; - interface SolidityEvent { + interface DecodedLogEntry extends LogEntry { event: string; - address: string; args: A; } + interface DecodedLogEntryEvent extends DecodedLogEntry { + removed: boolean; + } + + interface LogEntryEvent extends LogEntry { + removed: boolean; + } + interface FilterResult { get(callback: () => void): void; - watch(callback: (err: Error, result: SolidityEvent) => void): void; + watch(callback: (err: Error, result: LogEntryEvent) => void): void; stopWatching(callback: () => void): void; }