Felix Lange
36a684ca1e
accounts/abi: fix staticcheck warnings ( #20358 )
...
* accounts/abi: fix staticcheck warnings
* accounts/abi: restore unused field for test
5 years ago
gary rong
947f5f2b15
accounts/abi, signer/fourbyte: fix incorrect signature ( #19881 )
...
The abi package already supports function overload by adding a suffix to the overloaded function name, but it uses the function name with suffix to calculate signature(both for the event and method).
This PR fixes it by adding a new field named RawName, which can be used to calcuate all signatures but use Name to distinguish different overloaded function.
5 years ago
tzapu
e79821cabe
accounts/abi: argument type and name were reversed ( #17947 )
...
argument type and name were reversed
6 years ago
Guillaume Ballet
247b5f0369
accounts/abi: allow abi: tags when unpacking structs
...
Go code users can now tag event struct members with `abi:` to specify in what fields the event will be de-serialized.
See PR #16648 for details.
7 years ago
Martin Holst Swende
c095c87e11
accounts/abi: merging of https://github.com/ethereum/go-ethereum/pull/15452 + lookup by id
7 years ago
Martin Holst Swende
73d4a57d47
acounts/abi: refactor abi, generalize abi pack/unpack to Arguments
7 years ago
Robert Zaremba
81d4cafb32
accounts/abi: add unpack into array test
7 years ago
Robert Zaremba
3511904aad
accounts/abi: adding event unpacker tests
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
Felix Lange
d04a2e7557
all: update license information
9 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