aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/argument.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-01-27 15:38:53 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-02 22:28:59 +0800
commitbddf8f76c862fc4d096e8f51cc09b16640e3f13a (patch)
tree887c3661bd48c767f8fba563c549b8efb6dabc45 /accounts/abi/argument.go
parentd951ff300e7c390d91b3fa34bec4424522ecf8a0 (diff)
downloadgo-tangerine-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar
go-tangerine-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.gz
go-tangerine-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.bz2
go-tangerine-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.lz
go-tangerine-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.xz
go-tangerine-bddf8f76c862fc4d096e8f51cc09b16640e3f13a.tar.zst
go-tangerine-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.go5
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 {