Renamed interface getTopic to getEventTopic.

This commit is contained in:
Richard Moore 2020-02-25 14:50:35 -05:00
parent a5d2ec534f
commit f61f34bfb2
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -145,7 +145,7 @@ export class Interface {
return hexDataSlice(id(functionFragment.format()), 0, 4);
}
static getTopic(eventFragment: EventFragment): string {
static getEventTopic(eventFragment: EventFragment): string {
return id(eventFragment.format());
}
@ -229,7 +229,7 @@ export class Interface {
eventFragment = this.getEvent(eventFragment);
}
return getStatic<(e: EventFragment) => string>(this.constructor, "getTopic")(eventFragment);
return getStatic<(e: EventFragment) => string>(this.constructor, "getEventTopic")(eventFragment);
}