mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Co-authored-by: Mobin Mohanan <47410557+tr1sm0s1n@users.noreply.github.com>
This commit is contained in:
parent
1a2c8ee180
commit
7c69d03a88
1 changed files with 5 additions and 0 deletions
|
|
@ -149,6 +149,11 @@ func NewBoundContract(address common.Address, abi abi.ABI, caller ContractCaller
|
|||
}
|
||||
}
|
||||
|
||||
// Address returns the deployment address of the contract.
|
||||
func (c *BoundContract) Address() common.Address {
|
||||
return c.address
|
||||
}
|
||||
|
||||
// Call invokes the (constant) contract method with params as input values and
|
||||
// sets the output to result. The result type might be a single field for simple
|
||||
// returns, a slice of interfaces for anonymous returns and a struct for named
|
||||
|
|
|
|||
Loading…
Reference in a new issue