go-ethereum/accounts/abi/bind
gary rong 44b74cfc40 accounts/abi: add internalType information and fix issues (#20179)
* accounts/abi: fix various issues

The fixed issues include:

(1) If there is no return in a call function, unpack should
return nil error

(2) For some functions which have struct array as parameter,
it will also be detected and generate the struct definition

(3) For event, if it has non-indexed parameter, the parameter
name will also be assigned if empty. Also the internal struct
will be detected and generate struct defition if not exist.

(4) Fix annotation generation in event function

* accounts/abi: add new abi field internalType

* accounts: address comments and add tests

* accounts/abi: replace strings.ReplaceAll with strings.Replace
2019-10-31 14:17:51 +01:00
..
backends accounts/abi/bind: support closing a simulated backend 2019-07-31 11:35:57 +03:00
auth.go accounts, cmd, contracts, les: integrate clef for transaction signing (#19783) 2019-07-03 22:54:59 +03:00
backend.go accounts/abi/bind: support event filtering in abigen 2018-01-24 10:54:13 +02:00
base_test.go accounts/abi: Fix method overwritten by same name methods. (#17099) 2019-07-01 16:51:21 +02:00
base.go accounts/abi/bind: take into account gas price during gas estimation (#20189) 2019-10-21 10:13:41 +02:00
bind_test.go accounts/abi: add internalType information and fix issues (#20179) 2019-10-31 14:17:51 +01:00
bind.go accounts/abi: add internalType information and fix issues (#20179) 2019-10-31 14:17:51 +01:00
template.go accounts/abi: add internalType information and fix issues (#20179) 2019-10-31 14:17:51 +01:00
topics_test.go accounts/abi: add internalType information and fix issues (#20179) 2019-10-31 14:17:51 +01:00
topics.go accounts/abi: add internalType information and fix issues (#20179) 2019-10-31 14:17:51 +01:00
util_test.go accounts/abi/bind: support closing a simulated backend 2019-07-31 11:35:57 +03:00
util.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00