bindBasic binds a generic wrapper to an already deployed contract.
(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer)
| 157 | |
| 158 | // bindBasic binds a generic wrapper to an already deployed contract. |
| 159 | func bindBasic(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { |
| 160 | parsed, err := BasicMetaData.GetAbi() |
| 161 | if err != nil { |
| 162 | return nil, err |
| 163 | } |
| 164 | return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil |
| 165 | } |
| 166 | |
| 167 | // Call invokes the (constant) contract method with params as input values and |
| 168 | // sets the output to result. The result type might be a single field for simple |
no outgoing calls
no test coverage detected