go-ethereum/accounts/abi/bind
Felix Lange d330916f57 accounts/abi/bind: update v2 template
Two changes:

New function doesn't return error anymore. It's annoying having to handle
an error there, especially since we know the ABI must be valid (we parsed it in
order to generate the contract).

The new Instance method returns the ContractInstance for use with v2 library functions.
2025-01-22 13:54:58 +01:00
..
backends core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
v2 accounts/abi/bind/v2: pass contract instance as value 2025-01-22 13:54:58 +01:00
auth.go accounts/abi/bind: check invalid chainID first (#29275) 2024-03-19 14:05:31 +01:00
backend.go ethclient/simulated: implement new sim backend (#28202) 2024-01-10 16:45:08 +01:00
base.go accounts/abi/bind: rename field in MetaData 2025-01-22 13:54:58 +01:00
base_test.go accounts: run tests in parallel (#28544) 2023-12-04 14:55:06 +01:00
bind.go remove capitalize helper method. simplify call/event/error symbol name registration 2025-01-22 13:54:57 +01:00
bind_test.go fix last rebase regression 2025-01-22 13:54:56 +01:00
bindv2.go add docs explaining internal variables on the v2 binder/contractBinder structs. convert exported metadata object in binding to be non-pointer type. Fix some linter issues. remove unecessary TODO comments 2025-01-22 13:54:58 +01:00
bindv2_test.go accounts/abi/bind: un-embed+ make test nicer 2025-01-22 13:54:58 +01:00
dep_tree.go remove unused comment. add method description for RawCreationTransact 2025-01-22 13:54:58 +01:00
dep_tree_test.go add docs explaining internal variables on the v2 binder/contractBinder structs. convert exported metadata object in binding to be non-pointer type. Fix some linter issues. remove unecessary TODO comments 2025-01-22 13:54:58 +01:00
source.go.tpl accounts/abi: embed Go template instead of string literal (#30098) 2024-07-02 15:58:15 +03:00
source2.go.tpl accounts/abi/bind: update v2 template 2025-01-22 13:54:58 +01:00
template.go accounts/abi/bind: simplify bindv2: create constructors for contractBinder, tmplContractV2. move some sanitization of values loaded from ABI definition into tmplContractV2 constructor 2025-01-22 13:54:58 +01:00
util.go accounts/abi/bind: make it possible to wait for tx hash (#30079) 2024-12-17 09:12:10 +01:00
util_test.go accounts/abi/bind, ethclient/simulated: check SendTransaction error in tests (#30349) 2024-08-27 17:11:50 +02:00