go-ethereum/accounts
Daniel Liu 32615fda97 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
2025-01-24 16:18:29 +08:00
..
abi accounts/abi: add internalType information and fix issues (#20179) 2025-01-24 16:18:29 +08:00
keystore accounts: replace passPHRASE with passWORD in any user interactions (#19932) 2025-01-24 16:18:29 +08:00
scwallet accounts/scwallet: change sc url scheme to keycard (#19632) 2025-01-24 16:18:29 +08:00
usbwallet signer/core: fix reference issue in key derivation (#19827) 2025-01-24 16:18:29 +08:00
accounts.go accounts: better support for EIP-191 intended validator (#19523) 2025-01-24 16:18:29 +08:00
accounts_test.go accounts: support for external signer API (#18079) 2025-01-24 16:18:29 +08:00
errors.go accounts: replace passPHRASE with passWORD in any user interactions (#19932) 2025-01-24 16:18:29 +08:00
hd.go accounts: switch Ledger derivation path to canonical one (#19438) 2025-01-24 16:18:29 +08:00
hd_test.go accounts: refactor API for generalized USB wallets 2017-08-09 13:26:07 +03:00
manager.go accounts, internal/ethapi: use common Accounts method (#18428) 2025-01-24 16:18:29 +08:00
sort.go accounts: smartcard wallet without the dependency on libpcsclite (#19273) 2025-01-24 16:18:29 +08:00
url.go accounts: add unit tests for URL (#17182) 2025-01-24 16:18:28 +08:00
url_test.go accounts: add unit tests for URL (#17182) 2025-01-24 16:18:28 +08:00