aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/argument.go
diff options
context:
space:
mode:
authorbas-vk <bas-vk@users.noreply.github.com>2016-12-22 08:51:20 +0800
committerFelix Lange <fjl@users.noreply.github.com>2016-12-22 08:51:20 +0800
commit6d15d00ac4b5f162737a27dfa6f8e9976383776e (patch)
tree59fd8d8ae13451b7e830b79e84fb0083e150c3d2 /accounts/abi/argument.go
parentbdaa43510b294bf49bbac1392d5518611c06eedc (diff)
downloadgo-tangerine-6d15d00ac4b5f162737a27dfa6f8e9976383776e.tar
go-tangerine-6d15d00ac4b5f162737a27dfa6f8e9976383776e.tar.gz
go-tangerine-6d15d00ac4b5f162737a27dfa6f8e9976383776e.tar.bz2
go-tangerine-6d15d00ac4b5f162737a27dfa6f8e9976383776e.tar.lz
go-tangerine-6d15d00ac4b5f162737a27dfa6f8e9976383776e.tar.xz
go-tangerine-6d15d00ac4b5f162737a27dfa6f8e9976383776e.tar.zst
go-tangerine-6d15d00ac4b5f162737a27dfa6f8e9976383776e.zip
accounts/abi: add support for "anonymous" and "indexed" for events (#3464)
Diffstat (limited to 'accounts/abi/argument.go')
-rw-r--r--accounts/abi/argument.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/accounts/abi/argument.go b/accounts/abi/argument.go
index 188203a5d..4faafdd3b 100644
--- a/accounts/abi/argument.go
+++ b/accounts/abi/argument.go
@@ -33,6 +33,7 @@ func (a *Argument) UnmarshalJSON(data []byte) error {
var extarg struct {
Name string
Type string
+ Indexed bool
}
err := json.Unmarshal(data, &extarg)
if err != nil {
@@ -44,6 +45,7 @@ func (a *Argument) UnmarshalJSON(data []byte) error {
return err
}
a.Name = extarg.Name
+ a.Indexed = extarg.Indexed
return nil
}