go-ethereum/accounts/abi/abigen
Moshe Malawach fd862fb6df accounts/abi/abigen: add ABI method to v2 bindings
Expose the parsed abi.ABI held by generated v2 contract bindings via a
public ABI() method. This lets callers access event and error metadata
(for example to build FilterQuery topics spanning multiple contracts)
without re-parsing the ABI via ContractMetaData.ParseABI().

The method is named ABI() rather than GetABI() (as originally proposed in
the issue) to follow the Go getter naming convention used elsewhere in
this repository and in the standard library.

Closes #34705.
2026-04-21 22:11:06 +02:00
..
testdata/v2 accounts/abi/abigen: add ABI method to v2 bindings 2026-04-21 22:11:06 +02:00
bind.go accounts/abi: precompile regex (#32301) 2025-07-31 09:53:31 +08:00
bind_test.go accounts/abi: check presence of payable fallback or receive before proceeding with transfer (#32374) 2025-10-14 17:07:48 +08:00
bindv2.go cmd/abigen, accounts/abi/bind: implement abigen version 2 (#31379) 2025-03-17 15:56:55 +01:00
bindv2_test.go accounts/abi: generate TryPack* methods for abigen v2 bindings (#31692) 2025-07-02 15:16:54 +09:00
source.go.tpl cmd/abigen, accounts/abi/bind: implement abigen version 2 (#31379) 2025-03-17 15:56:55 +01:00
source2.go.tpl accounts/abi/abigen: add ABI method to v2 bindings 2026-04-21 22:11:06 +02:00
template.go cmd/abigen, accounts/abi/bind: implement abigen version 2 (#31379) 2025-03-17 15:56:55 +01:00