aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-typescript-typings/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web3-typescript-typings/index.d.ts')
-rw-r--r--packages/web3-typescript-typings/index.d.ts13
1 files changed, 10 insertions, 3 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index 847f5c961..b5d6c08fc 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<A> {
+ interface DecodedLogEntry<A> extends LogEntry {
event: string;
- address: string;
args: A;
}
+ interface DecodedLogEntryEvent<A> extends DecodedLogEntry<A> {
+ removed: boolean;
+ }
+
+ interface LogEntryEvent extends LogEntry {
+ removed: boolean;
+ }
+
interface FilterResult {
get(callback: () => void): void;
- watch<A>(callback: (err: Error, result: SolidityEvent<A>) => void): void;
+ watch(callback: (err: Error, result: LogEntryEvent) => void): void;
stopWatching(callback: () => void): void;
}