mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
accounts/abi/bind/v2: add Backend type
This commit is contained in:
parent
d5481a6327
commit
176a4b3591
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue