accounts/abi/bind/v2: add Backend type

This commit is contained in:
Felix Lange 2025-01-28 00:31:22 +01:00
parent d5481a6327
commit 176a4b3591

View file

@ -123,3 +123,11 @@ type ContractBackend interface {
ContractTransactor
ContractFilterer
}
// Backend combines all backend methods used in this package. This type is provided for
// convenience. It is meant to be used when you need to hold a reference to a backend that
// is used for both deployment and contract interaction.
type Backend interface {
DeployBackend
ContractBackend
}