added interface generation to abigen#28279
Conversation
|
We have introduced a new version of abigen which only generates a minimal set of bindings for packing/unpacking ABI-encoded data for various methods/events/errors defined in a contract's interface. These bare-bones bindings can be used in conjunction with various APIs provided by go-ethereum to cover a wide array of use-cases that were previously impossible with abigen v1. Please check out the tutorial here for an overview of how to use the new version: https://geth.ethereum.org/docs/developers/dapp-developer/native-bindings-v2 . Closing this as it's no longer necessary to expand the interface of abigen v2. |
|
@jwasinger are there release notes somewhere expanding on the diff between v1 and v2? |
|
The abigen v2 PR gives an overview of the changes in functionality that we shipped with the new version: #31379 . |
Implements feature-request #28278
The proposed names for the interfaces are pretty awful, but the structs have already taken the Caller/Transactor/Filterer names. Open to suggestions for renaming the interfaces.