Péter Szilágyi
1bf508b449
accounts/abi/bind: support event filtering in abigen
7 years ago
Martin Holst Swende
73d4a57d47
acounts/abi: refactor abi, generalize abi pack/unpack to Arguments
7 years ago
Robert Zaremba
95461e8b22
accounts/abi: satisfy most of the linter warnings
...
+ adding missing comments
+ small cleanups which won't significantly change
function body.
+ unify Method receiver name
7 years ago
Robert Zaremba
0ed8b838a9
accounts/abi: fix event unpack into slice
...
+ The event slice unpacker doesn't correctly extract element from the
slice. The indexed arguments are not ignored as they should be
(the data offset should not include the indexed arguments).
+ The `Elem()` call in the slice unpack doesn't work.
The Slice related tests fails because of that.
+ the check in the loop are suboptimal and have been extracted
out of the loop.
+ extracted common code from event and method tupleUnpack
7 years ago
Robert Zaremba
9becba5540
accounts/abi: fix event tupleUnpack
...
Event.tupleUnpack doesn't handle correctly Indexed arguments,
hence it can't unpack an event with indexed arguments.
7 years ago
Dmitry Shulyak
da58afcea0
accounts/abi: update array length after parsing array ( #15618 )
...
Fixes #15617
7 years ago
RJ Catalano
dec8bba9d4
accounts/abi: improve type handling, add event support ( #14743 )
7 years ago
bas-vk
6d15d00ac4
accounts/abi: add support for "anonymous" and "indexed" for events ( #3464 )
8 years ago
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
9 years ago
Jeffrey Wilcke
bddf8f76c8
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.
9 years ago
Jeffrey Wilcke
1372b991c3
core/vm/runtime: added simple execution runtime
...
The runtime environment can be used for simple basic execution of
contract code without the requirement of setting up a full stack and
operates fully in memory.
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
5da82077d1
cmd/ethtest, tests: add support for RLP JSON tests
9 years ago