diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-01-27 15:38:53 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-02-02 22:28:59 +0800 |
commit | bddf8f76c862fc4d096e8f51cc09b16640e3f13a (patch) | |
tree | 887c3661bd48c767f8fba563c549b8efb6dabc45 /accounts/abi/argument.go | |
parent | d951ff300e7c390d91b3fa34bec4424522ecf8a0 (diff) | |
download | dexon-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar dexon-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.gz dexon-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.bz2 dexon-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.lz dexon-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.xz dexon-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.zst dexon-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.zip |
account/abi: implements event parsing
Implementation of basic event parsing and its input types. This
separates methods and events and fixes an issue with go type parsing and
validation.
Diffstat (limited to 'accounts/abi/argument.go')
-rw-r--r-- | accounts/abi/argument.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/accounts/abi/argument.go b/accounts/abi/argument.go index 8907b2979..188203a5d 100644 --- a/accounts/abi/argument.go +++ b/accounts/abi/argument.go @@ -24,8 +24,9 @@ import ( // Argument holds the name of the argument and the corresponding type. // Types are used when packing and testing arguments. type Argument struct { - Name string - Type Type + Name string + Type Type + Indexed bool // indexed is only used by events } func (a *Argument) UnmarshalJSON(data []byte) error { |