From 6d15d00ac4b5f162737a27dfa6f8e9976383776e Mon Sep 17 00:00:00 2001 From: bas-vk Date: Thu, 22 Dec 2016 01:51:20 +0100 Subject: accounts/abi: add support for "anonymous" and "indexed" for events (#3464) --- accounts/abi/event.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'accounts/abi/event.go') diff --git a/accounts/abi/event.go b/accounts/abi/event.go index e74c7c732..51ab84241 100644 --- a/accounts/abi/event.go +++ b/accounts/abi/event.go @@ -25,10 +25,12 @@ import ( ) // Event is an event potentially triggered by the EVM's LOG mechanism. The Event -// holds type information (inputs) about the yielded output +// holds type information (inputs) about the yielded output. Anonymous events +// don't get the signature canonical representation as the first LOG topic. type Event struct { - Name string - Inputs []Argument + Name string + Anonymous bool + Inputs []Argument } // Id returns the canonical representation of the event's signature used by the -- cgit